mirror of
https://github.com/tpope/vim-fugitive.git
synced 2025-11-08 11:33:47 -05:00
Compare commits
1 Commits
v3.6
...
double-sta
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
2685422e17 |
@@ -2556,6 +2556,10 @@ function! fugitive#BufReadStatus(...) abort
|
||||
let b:fugitive_type = 'index'
|
||||
unlet! b:fugitive_reltime
|
||||
try
|
||||
if exists('b:fugitive_reloading')
|
||||
throw 'double status reload???'
|
||||
endif
|
||||
let b:fugitive_reloading = 1
|
||||
silent doautocmd BufReadPre
|
||||
let config = fugitive#Config()
|
||||
|
||||
@@ -2878,6 +2882,8 @@ function! fugitive#BufReadStatus(...) abort
|
||||
return s:DoAutocmd('User FugitiveIndex')
|
||||
catch /^fugitive:/
|
||||
return 'echoerr ' . string(v:exception)
|
||||
finally
|
||||
unlet! b:fugitive_reloading
|
||||
endtry
|
||||
endfunction
|
||||
|
||||
|
||||
Reference in New Issue
Block a user