Skip to contentSkip to conversation

newbb.vim: Use 'git config' instead of git-config

PATCH New Khem Raj 1 participant 1 message Sep 5, 2013

lore
Share & tools
lore

Khem Raj

author
#0 lore raw

PATCH 1/1 newbb.vim: Use 'git config' instead of git-config

Newer versions of git do not have the '-' concatenated command

---
 bitbake/contrib/vim/plugin/newbb.vim | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
bitbake/contrib/vim/plugin/newbb.vim +2 -2
index afba1d9..053ed71 100755
@@ -15,7 +15,7 @@ if &compatible || v:version < 600
 endif
 
 fun! <SID>GetUserName()
-    let l:user_name = system("git-config --get user.name")
+    let l:user_name = system("git config --get user.name")
     if v:shell_error
         return "Unknow User"
     else
@@ -23,7 +23,7 @@ fun! <SID>GetUserName()
 endfun
 
 fun! <SID>GetUserEmail()
-    let l:user_email = system("git-config --get user.email")
+    let l:user_email = system("git config --get user.email")
     if v:shell_error
         return "[email protected]"
     else
Signature · 1 line
1.8.4