mirror of
https://github.com/tpope/vim-fugitive.git
synced 2025-11-09 12:03:47 -05:00
Fix reference to rebase buffer when closing tab
This commit is contained in:
@@ -2467,10 +2467,10 @@ endfunction
|
|||||||
augroup fugitive_merge
|
augroup fugitive_merge
|
||||||
autocmd!
|
autocmd!
|
||||||
autocmd VimLeavePre,BufDelete git-rebase-todo
|
autocmd VimLeavePre,BufDelete git-rebase-todo
|
||||||
\ if &bufhidden ==# 'wipe' |
|
\ if getbufvar(+expand('<abuf>'), '&bufhidden') ==# 'wipe' |
|
||||||
\ call s:RebaseClean(expand('<afile>')) |
|
\ call s:RebaseClean(expand('<afile>')) |
|
||||||
\ if getfsize(fugitive#Find('.git/rebase-merge/done')) == 0 |
|
\ if getfsize(FugitiveFind('.git/rebase-merge/done', +expand('<abuf>'))) == 0 |
|
||||||
\ let s:rebase_continue = b:git_dir |
|
\ let s:rebase_continue = FugitiveGitDir(+expand('<abuf>')) |
|
||||||
\ endif |
|
\ endif |
|
||||||
\ endif
|
\ endif
|
||||||
autocmd BufEnter *
|
autocmd BufEnter *
|
||||||
|
|||||||
Reference in New Issue
Block a user