diff options
author | Josh Triplett <josh@freedesktop.org> | 2007-04-29 05:40:28 +0400 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2007-04-29 13:05:06 +0400 |
commit | 28a94f885a735e7474357698ec384de24d526620 (patch) | |
tree | b802381981a49f53dbc332965623b44984b91a76 /t/test-lib.sh | |
parent | 25dc5e2995cc60c59a29b07963f71a1f7608b52f (diff) |
Fall back to $EMAIL for missing GIT_AUTHOR_EMAIL and GIT_COMMITTER_EMAIL
Some other programs get the user's email address from $EMAIL, so fall back to
that if we don't have a Git-specific email address.
Signed-off-by: Josh Triplett <josh@freedesktop.org>
Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 't/test-lib.sh')
-rw-r--r-- | t/test-lib.sh | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/t/test-lib.sh b/t/test-lib.sh index f2c6bd3b01..dee3ad7621 100644 --- a/t/test-lib.sh +++ b/t/test-lib.sh @@ -16,6 +16,7 @@ unset AUTHOR_EMAIL unset AUTHOR_NAME unset COMMIT_AUTHOR_EMAIL unset COMMIT_AUTHOR_NAME +unset EMAIL unset GIT_ALTERNATE_OBJECT_DIRECTORIES unset GIT_AUTHOR_DATE GIT_AUTHOR_EMAIL=author@example.com |