summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: dfdd309)
raw | patch | inline | side by side (parent: dfdd309)
author | Junio C Hamano <junkio@cox.net> | |
Tue, 7 Feb 2006 23:35:46 +0000 (15:35 -0800) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Thu, 9 Feb 2006 05:55:34 +0000 (21:55 -0800) |
It tried to "restore" GIT_AUTHOR_EMAIL environment variable but
the variable started out as unset, so ended up setting it to an
empty string. This is now caught as an error.
Signed-off-by: Junio C Hamano <junkio@cox.net>
the variable started out as unset, so ended up setting it to an
empty string. This is now caught as an error.
Signed-off-by: Junio C Hamano <junkio@cox.net>
t/t6000lib.sh | patch | blob | history |
diff --git a/t/t6000lib.sh b/t/t6000lib.sh
index 01f796e9c827aff02c3161ac940626dd4d8edb9b..c6752af48e04993e3ed3efebf288ffa86d02633a 100755 (executable)
--- a/t/t6000lib.sh
+++ b/t/t6000lib.sh
export GIT_AUTHOR_EMAIL="$_author"
"$@"
- export GIT_AUTHOR_EMAIL="$_save"
+ if test -z "$_save"
+ then
+ unset GIT_AUTHOR_EMAIL
+ else
+ export GIT_AUTHOR_EMAIL="$_save"
+ fi
}
commit_date()