Add an error about LANG= in g:fugitive_git_executable

This commit is contained in:
Tim Pope
2019-07-18 11:06:08 -04:00
parent ea26a94bde
commit e25a214f78
2 changed files with 5 additions and 1 deletions

View File

@@ -6,7 +6,7 @@ if exists('g:autoloaded_fugitive')
endif
let g:autoloaded_fugitive = 1
if !exists('g:fugitive_git_executable')
if !exists('g:fugitive_git_executable') || g:fugitive_git_executable =~# '^LANG='
let g:fugitive_git_executable = 'git'
endif