From 137433c3c058e0a70f45697ad515e3a881877f95 Mon Sep 17 00:00:00 2001 From: Tim Pope Date: Fri, 5 Jul 2019 03:58:36 -0400 Subject: [PATCH] Eliminate shell syntax in :Gstatus undo --- autoload/fugitive.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/autoload/fugitive.vim b/autoload/fugitive.vim index c1afe95..0fd54f7 100644 --- a/autoload/fugitive.vim +++ b/autoload/fugitive.vim @@ -2553,7 +2553,7 @@ function! s:StageDelete(lnum, count) abort call s:StageReveal() let @@ = hash return 'checktime|redraw|echomsg ' . - \ string('To restore, :Git cat-file blob '.hash[0:6].' > '.info.paths[0]) + \ string('To restore, :Gedit ' . info.relative[0] . '|Gread ' . hash[0:6]) endfunction function! s:DoToggleHeadHeader(value) abort