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()
try
execute cd.' `=s:repo().tree()`'
call s:ReplaceCmd('git status')
call s:ReplaceCmd(s:repo().git_command('status'))
finally
execute cd.' `=dir`'
endtry