X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=git-am.sh;h=51ea168e03b0d1e4a906f5f17ead431ca3884502;hb=f1a906a387a2155069e02b09c33dabd6d058ede5;hp=cb4bef5adb27e6f45b77656f29a86083f729350f;hpb=22943f1a52142b0ef669c959f8b4367e579da968;p=git.git diff --git a/git-am.sh b/git-am.sh index cb4bef5a..51ea168e 100755 --- a/git-am.sh +++ b/git-am.sh @@ -224,6 +224,7 @@ do GIT_AUTHOR_EMAIL="$(sed -n '/^Email/ s/Email: //p' "$dotest/info")" GIT_AUTHOR_DATE="$(sed -n '/^Date/ s/Date: //p' "$dotest/info")" SUBJECT="$(sed -n '/^Subject/ s/Subject: //p' "$dotest/info")" + export GIT_AUTHOR_NAME GIT_AUTHOR_EMAIL GIT_AUTHOR_DATE case "$keep_subject" in -k) SUBJECT="[PATCH] $SUBJECT" ;; esac if test '' != "$SIGNOFF"