Skip to content

Commit 5909651

Browse files
loopsgitster
authored andcommitted
Fix interactive rebase to preserve author email address
Signed-off-by: Sean Estabrooks <seanlkml@sympatico.ca> Signed-off-by: Junio C Hamano <gitster@pobox.com>
1 parent 3f7701a commit 5909651

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

git-rebase--interactive.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -371,7 +371,7 @@ do
371371
. "$DOTEST"/author-script && {
372372
test ! -f "$DOTEST"/amend || git reset --soft HEAD^
373373
} &&
374-
export GIT_AUTHOR_NAME GIT_AUTHOR_NAME GIT_AUTHOR_DATE &&
374+
export GIT_AUTHOR_NAME GIT_AUTHOR_EMAIL GIT_AUTHOR_DATE &&
375375
git commit -F "$DOTEST"/message -e
376376

377377
require_clean_work_tree

0 commit comments

Comments
 (0)