Eliminate shell syntax in :Gstatus undo

This commit is contained in:
Tim Pope 2019-07-05 03:58:36 -04:00
parent ed5ac8dc5d
commit 137433c3c0

View File

@ -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