From 9c74c0d0a7ffdbea23cf48abedf934c6be65b78b Mon Sep 17 00:00:00 2001 From: Tim Pope Date: Thu, 3 Jan 2019 19:21:35 -0500 Subject: [PATCH] Restore :checktime for :Gstatus delete I assumed this was a naive attempt to reload the status buffer, when in fact it was concerned with reloading the deleted file. --- autoload/fugitive.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/autoload/fugitive.vim b/autoload/fugitive.vim index d7e1f45..85ff078 100644 --- a/autoload/fugitive.vim +++ b/autoload/fugitive.vim @@ -2283,7 +2283,7 @@ function! s:StageDelete(lnum, count) abort endif exe s:ReloadStatus() let @@ = hash - return 'redraw|echomsg ' . + return 'checktime|redraw|echomsg ' . \ string('To restore, :Git cat-file blob '.hash[0:6].' > '.info.filename) endfunction