Allow configuration of git executable.

This commit is contained in:
Andy Stewart
2016-05-16 13:47:14 +01:00
parent 9db8f638db
commit f5a5234f22
5 changed files with 14 additions and 9 deletions

View File

@@ -47,7 +47,7 @@ function! gitgutter#debug#vim_version()
endfunction
function! gitgutter#debug#git_version()
let v = system('git --version')
let v = system(g:gitgutter_git_executable.' --version')
call gitgutter#debug#output( substitute(v, '\n$', '', '') )
endfunction