From dd14c9d12f53b1e8345b28865d1c7b676717c896 Mon Sep 17 00:00:00 2001 From: Jim Myhrberg Date: Mon, 9 Apr 2012 03:34:22 +0100 Subject: [PATCH] Ensure GIT_AUTHOR_* environment vars are set correctly --- shell/git.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/shell/git.sh b/shell/git.sh index 9973364..0d6c2ad 100755 --- a/shell/git.sh +++ b/shell/git.sh @@ -3,8 +3,8 @@ # # Author name -export GIT_AUTHOR_NAME="`git config user.name`" -export GIT_AUTHOR_EMAIL="`git config user.email`" +export GIT_AUTHOR_NAME="`git config --global user.name`" +export GIT_AUTHOR_EMAIL="`git config --global user.email`" # Aliases alias g="git"