Skip to content
Snippets Groups Projects
Commit 5920f807 authored by Tim Pope's avatar Tim Pope
Browse files

Expire b:git_dir on buffer rename

parent f60fc79e
Branches
Tags
No related merge requests found
......@@ -690,6 +690,7 @@ augroup fugitive
autocmd BufNewFile,BufReadPost * call FugitiveDetect(+expand('<abuf>'), 0)
autocmd FileType netrw call FugitiveDetect(+expand('<abuf>'), 0)
autocmd BufFilePost * unlet! b:git_dir
autocmd FileType git
\ call fugitive#MapCfile()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment