Attempt to address GitHub issue #16
This commit is contained in:
parent
a8bd148683
commit
45fe471b44
@ -1365,7 +1365,7 @@ function! s:BufReadIndex()
|
|||||||
if fnamemodify($GIT_INDEX_FILE !=# '' ? $GIT_INDEX_FILE : b:git_dir . '/index', ':p') ==# expand('%:p')
|
if fnamemodify($GIT_INDEX_FILE !=# '' ? $GIT_INDEX_FILE : b:git_dir . '/index', ':p') ==# expand('%:p')
|
||||||
let index = ''
|
let index = ''
|
||||||
else
|
else
|
||||||
let index = expand('%')
|
let index = expand('%:p')
|
||||||
endif
|
endif
|
||||||
if b:fugitive_display_format
|
if b:fugitive_display_format
|
||||||
call s:ReplaceCmd(s:repo().git_command('ls-files','--stage'),index)
|
call s:ReplaceCmd(s:repo().git_command('ls-files','--stage'),index)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user