X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=t%2Ft6000lib.sh;h=c6752af48e04993e3ed3efebf288ffa86d02633a;hb=3a3e89b897e122f1f154293e55b1d6c863ffbd2c;hp=01f796e9c827aff02c3161ac940626dd4d8edb9b;hpb=98e031f0bb6e857c684e6db24d03d22cfc1a532a;p=git.git diff --git a/t/t6000lib.sh b/t/t6000lib.sh old mode 100644 new mode 100755 index 01f796e9..c6752af4 --- a/t/t6000lib.sh +++ b/t/t6000lib.sh @@ -51,7 +51,12 @@ as_author() 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()