aboutsummaryrefslogtreecommitdiff
path: root/git-am.sh
diff options
context:
space:
mode:
authorJunio C Hamano <junkio@cox.net>2005-10-20 22:31:56 -0700
committerJunio C Hamano <junkio@cox.net>2005-10-20 22:31:56 -0700
commit2c674191d507647b4c34486619189d7c6f5dbab9 (patch)
tree543454058632c0da46bde86a957eb8e2da6591ac /git-am.sh
parent7872e0556746c70e49c5558d271d35b1fbfb1680 (diff)
downloadgit-2c674191d507647b4c34486619189d7c6f5dbab9.tar.gz
git-2c674191d507647b4c34486619189d7c6f5dbab9.tar.xz
Fix missing exports in git-am
Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'git-am.sh')
-rwxr-xr-xgit-am.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/git-am.sh b/git-am.sh
index cb4bef5ad..51ea168e0 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"