From 1ecd40d0025f04dcb84e85732753322fd6ff0372 Mon Sep 17 00:00:00 2001 From: Tim Pope Date: Fri, 2 Sep 2011 15:19:06 -0400 Subject: [PATCH] Revert "Partial workaround for symlinked .git" This reverts commit ea3b4a73155203dd484b62872814a91df39dbf9f. b4099e568a9aacec53eac2dbf63905fdf5658a41 handles this more cleanly. --- plugin/fugitive.vim | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugin/fugitive.vim b/plugin/fugitive.vim index 7f38829..adb1e1e 100644 --- a/plugin/fugitive.vim +++ b/plugin/fugitive.vim @@ -564,7 +564,7 @@ function! s:Status() abort try Gpedit : wincmd P - nnoremap q :bwipe + nnoremap q :bdelete catch /^fugitive:/ return 'echoerr v:errmsg' endtry @@ -1816,7 +1816,7 @@ function! s:BufReadIndex() nnoremap dv :execute StageDiff('Gvdiff') nnoremap p :execute StagePatch(line('.'),line('.')+v:count1-1) xnoremap p :execute StagePatch(line("'<"),line("'>")) - nnoremap q :if bufnr('$') == 1quitelsebwipeendif + nnoremap q :if bufnr('$') == 1quitelsebdeleteendif nnoremap R :edit catch /^fugitive:/ return 'echoerr v:errmsg'