Patchwork [bitbake-devel] newbb.vim: Use 'git config' instead of git-config

login
register
mail settings
Submitter Khem Raj
Date Sept. 5, 2013, 9:09 p.m.
Message ID <1378415360-13657-1-git-send-email-raj.khem@gmail.com>
Download mbox | patch
Permalink /patch/57503/
State New
Headers show

Comments

Khem Raj - Sept. 5, 2013, 9:09 p.m.
Newer versions of git do not have the '-' concatenated command

Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
 bitbake/contrib/vim/plugin/newbb.vim | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Patch

diff --git a/bitbake/contrib/vim/plugin/newbb.vim b/bitbake/contrib/vim/plugin/newbb.vim
index afba1d9..053ed71 100755
--- a/bitbake/contrib/vim/plugin/newbb.vim
+++ b/bitbake/contrib/vim/plugin/newbb.vim
@@ -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 "unknow@user.org"
     else