Remove hard-coded git executable reference

This commit is contained in:
Tim Pope 2009-10-22 22:08:57 -04:00
parent 39be3515c9
commit 6ebcc05312

View File

@ -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