summaryrefslogtreecommitdiffstats
path: root/bitbake/contrib/vim/plugin/newbb.vim
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2013-09-05 14:09:20 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-09-06 22:31:32 +0100
commitda29dcce8396cfabed3285c4f6ab3497b2e88f7a (patch)
tree14e29fe3a2ac24fd2f517caaa0432de6cfe9663f /bitbake/contrib/vim/plugin/newbb.vim
parente92b2dbfcdf6ac8380485d0d688ba21a5d2c1527 (diff)
downloadpoky-da29dcce8396cfabed3285c4f6ab3497b2e88f7a.tar.gz
bitbake: newbb.vim: Use 'git config' instead of git-config
Newer versions of git do not have the '-' concatenated command (Bitbake rev: 7adb05978b917e624016bae1700db23bd280b41a) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/contrib/vim/plugin/newbb.vim')
-rwxr-xr-xbitbake/contrib/vim/plugin/newbb.vim4
1 files changed, 2 insertions, 2 deletions
diff --git a/bitbake/contrib/vim/plugin/newbb.vim b/bitbake/contrib/vim/plugin/newbb.vim
index afba1d9aa4..053ed710ac 100755
--- a/bitbake/contrib/vim/plugin/newbb.vim
+++ b/bitbake/contrib/vim/plugin/newbb.vim
@@ -15,7 +15,7 @@ if &compatible || v:version < 600
15endif 15endif
16 16
17fun! <SID>GetUserName() 17fun! <SID>GetUserName()
18 let l:user_name = system("git-config --get user.name") 18 let l:user_name = system("git config --get user.name")
19 if v:shell_error 19 if v:shell_error
20 return "Unknow User" 20 return "Unknow User"
21 else 21 else
@@ -23,7 +23,7 @@ fun! <SID>GetUserName()
23endfun 23endfun
24 24
25fun! <SID>GetUserEmail() 25fun! <SID>GetUserEmail()
26 let l:user_email = system("git-config --get user.email") 26 let l:user_email = system("git config --get user.email")
27 if v:shell_error 27 if v:shell_error
28 return "unknow@user.org" 28 return "unknow@user.org"
29 else 29 else