commit 6ebcc05312a5d94599e1463fbb1eccf3b78492ec (tree)
parent 39be3515c9262f5493e8a7e130db9c59b82c07a6
Author: Tim Pope <code@tpope.net>
Date: Thu, 22 Oct 2009 22:08:57 -0400
Remove hard-coded git executable reference
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/plugin/fugitive.vim b/plugin/fugitive.vim
@@ -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