Code

Fix interactive rebase to preserve author email address
authorSean <seanlkml@sympatico.ca>
Wed, 19 Dec 2007 21:34:27 +0000 (16:34 -0500)
committerJunio C Hamano <gitster@pobox.com>
Wed, 19 Dec 2007 22:59:19 +0000 (14:59 -0800)
Signed-off-by: Sean Estabrooks <seanlkml@sympatico.ca>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
git-rebase--interactive.sh

index cd7e43faeb7a946da51e47821b8e2adff7472a8f..7153ac7877118854bcf4588ad75d81686bab8ad7 100755 (executable)
@@ -371,7 +371,7 @@ do
                . "$DOTEST"/author-script && {
                        test ! -f "$DOTEST"/amend || git reset --soft HEAD^
                } &&
-               export GIT_AUTHOR_NAME GIT_AUTHOR_NAME GIT_AUTHOR_DATE &&
+               export GIT_AUTHOR_NAME GIT_AUTHOR_EMAIL GIT_AUTHOR_DATE &&
                git commit -F "$DOTEST"/message -e
 
                require_clean_work_tree