From: Khem Raj Date: Thu, 5 Sep 2013 21:09:20 +0000 (-0700) Subject: newbb.vim: Use 'git config' instead of git-config X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=7adb05978b917e624016bae1700db23bd280b41a;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git newbb.vim: Use 'git config' instead of git-config Newer versions of git do not have the '-' concatenated command Signed-off-by: Khem Raj Signed-off-by: Richard Purdie --- diff --git a/contrib/vim/plugin/newbb.vim b/contrib/vim/plugin/newbb.vim index afba1d9aa41..053ed710ac5 100755 --- a/contrib/vim/plugin/newbb.vim +++ b/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