From da29dcce8396cfabed3285c4f6ab3497b2e88f7a Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Thu, 5 Sep 2013 14:09:20 -0700 Subject: [PATCH] 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 Signed-off-by: Richard Purdie --- bitbake/contrib/vim/plugin/newbb.vim | 4 ++-- 1 file 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 endif fun! 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! GetUserName() endfun fun! 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