mirror of
https://github.com/tpope/vim-fugitive.git
synced 2025-11-14 06:13:51 -05:00
Fix restoring of $GIT_INDEX_FILE
This commit is contained in:
@@ -1293,7 +1293,7 @@ function! s:ReplaceCmd(cmd,...) abort
|
|||||||
finally
|
finally
|
||||||
let &autowrite = aw
|
let &autowrite = aw
|
||||||
if exists('old_index')
|
if exists('old_index')
|
||||||
let $GIT_INDEX_FILE = 'old_index'
|
let $GIT_INDEX_FILE = old_index
|
||||||
endif
|
endif
|
||||||
endtry
|
endtry
|
||||||
silent exe 'keepalt file '.tmp
|
silent exe 'keepalt file '.tmp
|
||||||
|
|||||||
Reference in New Issue
Block a user