Fix missing exports in git-am
authorJunio C Hamano <junkio@cox.net>
Fri, 21 Oct 2005 05:31:56 +0000 (22:31 -0700)
committerJunio C Hamano <junkio@cox.net>
Fri, 21 Oct 2005 05:31:56 +0000 (22:31 -0700)
Signed-off-by: Junio C Hamano <junkio@cox.net>
git-am.sh

index cb4bef5..51ea168 100755 (executable)
--- 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"