aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--plugin/gentoo-common.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugin/gentoo-common.vim b/plugin/gentoo-common.vim
index 5c704ab..a50f690 100644
--- a/plugin/gentoo-common.vim
+++ b/plugin/gentoo-common.vim
@@ -14,7 +14,7 @@ fun! GentooGetUser()
let l:result = expand("\$ECHANGELOG_USER")
if l:result ==# "\$ECHANGELOG_USER"
let l:gitcfg = "git config --global "
- if executable(git)
+ if executable("git")
let l:email = trim(system(l:gitcfg . "user.email"))
let l:name = trim(system(l:gitcfg . "user.name"))
else