mirror of
https://github.com/tpope/vim-fugitive.git
synced 2026-10-13 00:20:18 +08:00
Remove hard-coded git executable reference
This commit is contained in:
1 parent
39be3515c9
commit
6ebcc05312
1 file changed
+1
-1
+1
-1
@@ -1030,7 +1030,7 @@ function! s:BufReadIndex()
|
|||||||
let dir = getcwd()
|
let dir = getcwd()
|
||||||
try
|
try
|
||||||
execute cd.' `=s:repo().tree()`'
|
execute cd.' `=s:repo().tree()`'
|
||||||
call s:ReplaceCmd('git status')
|
call s:ReplaceCmd(s:repo().git_command('status'))
|
||||||
finally
|
finally
|
||||||
execute cd.' `=dir`'
|
execute cd.' `=dir`'
|
||||||
endtry
|
endtry
|
||||||
|
|||||||
Reference in new issue
Block a user