1
0
mirror of https://git.yoctoproject.org/poky synced 2026-05-30 12:29:55 +00:00

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>
This commit is contained in:
Khem Raj
2013-09-05 14:09:20 -07:00
committed by Richard Purdie
parent e92b2dbfcd
commit da29dcce83
+2 -2
View File
@@ -15,7 +15,7 @@ if &compatible || v:version < 600
endif endif
fun! <SID>GetUserName() 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 if v:shell_error
return "Unknow User" return "Unknow User"
else else
@@ -23,7 +23,7 @@ fun! <SID>GetUserName()
endfun endfun
fun! <SID>GetUserEmail() 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 if v:shell_error
return "unknow@user.org" return "unknow@user.org"
else else