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>
This commit is contained in:

committed by
Junio C Hamano

parent
25dc5e2995
commit
28a94f885a
@ -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
|
||||
|
Reference in New Issue
Block a user