diff options
author | Khem Raj <raj.khem@gmail.com> | 2013-09-05 14:09:20 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-09-06 22:31:32 +0100 |
commit | da29dcce8396cfabed3285c4f6ab3497b2e88f7a (patch) | |
tree | 14e29fe3a2ac24fd2f517caaa0432de6cfe9663f /bitbake/contrib/vim/plugin/newbb.vim | |
parent | e92b2dbfcdf6ac8380485d0d688ba21a5d2c1527 (diff) | |
download | poky-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-x | bitbake/contrib/vim/plugin/newbb.vim | 4 |
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 | |||
15 | endif | 15 | endif |
16 | 16 | ||
17 | fun! <SID>GetUserName() | 17 | fun! <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() | |||
23 | endfun | 23 | endfun |
24 | 24 | ||
25 | fun! <SID>GetUserEmail() | 25 | fun! <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 |