Enable configuration of path to sh (default /bin/sh).

See #360.
This commit is contained in:
Andy Stewart
2016-09-16 14:22:13 +01:00
parent 373ad7337b
commit 402257f920
3 changed files with 4 additions and 3 deletions

View File

@@ -52,6 +52,7 @@ call s:set('g:gitgutter_avoid_cmd_prompt_on_windows', 1)
call s:set('g:gitgutter_async', 1)
call s:set('g:gitgutter_log', 0)
call s:set('g:gitgutter_git_executable', 'git')
call s:set('g:gitgutter_sh', '/bin/sh')
if !executable(g:gitgutter_git_executable)
call gitgutter#utility#warn('cannot find git. Please set g:gitgutter_git_executable.')