Code

Update applypatch to use new GIT_-prefix environment variables.
authorLinus Torvalds <torvalds@ppc970.osdl.org>
Tue, 17 May 2005 16:35:01 +0000 (09:35 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Tue, 17 May 2005 16:35:01 +0000 (09:35 -0700)
Avoid the warnings from newer git versions.

applypatch

index 500720171f0ba29b9e34e2a7049969e00a3cc254..160931d74a4454d406aaf24a454c7bded82c732a 100755 (executable)
@@ -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