summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@ppc970.osdl.org>2005-05-17 09:35:01 -0700
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-05-17 09:35:01 -0700
commitc9049d41b8d91a198e4642b266e50a506024f0aa (patch)
treee041075a6d849dd59391aaeaef64dbdf58d2a4bf
parent62c1f6b4afc68f6448d5ce94b00380405aa101eb (diff)
downloadgit-c9049d41b8d91a198e4642b266e50a506024f0aa.tar.gz
Update applypatch to use new GIT_-prefix environment variables.
Avoid the warnings from newer git versions.
-rwxr-xr-xapplypatch6
1 files changed, 3 insertions, 3 deletions
diff --git a/applypatch b/applypatch
index 500720171f..160931d74a 100755
--- a/applypatch
+++ b/applypatch
@@ -24,9 +24,9 @@ INFO=$4
EDIT=${VISUAL:-$EDITOR}
EDIT=${EDIT:-vi}
-export AUTHOR_NAME="$(sed -n '/^Author/ s/Author: //p' .dotest/info)"
-export AUTHOR_EMAIL="$(sed -n '/^Email/ s/Email: //p' .dotest/info)"
-export AUTHOR_DATE="$(sed -n '/^Date/ s/Date: //p' .dotest/info)"
+export GIT_AUTHOR_NAME="$(sed -n '/^Author/ s/Author: //p' .dotest/info)"
+export GIT_AUTHOR_EMAIL="$(sed -n '/^Email/ s/Email: //p' .dotest/info)"
+export GIT_AUTHOR_DATE="$(sed -n '/^Date/ s/Date: //p' .dotest/info)"
export SUBJECT="$(sed -n '/^Subject/ s/Subject: //p' .dotest/info)"
if [ -n "$signoff" -a -f "$signoff" ]; then