From: Linus Torvalds Date: Tue, 17 May 2005 16:35:01 +0000 (-0700) Subject: Update applypatch to use new GIT_-prefix environment variables. X-Git-Tag: v0.99.2~51^2~13 X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=c9049d41b8d91a198e4642b266e50a506024f0aa;p=git.git Update applypatch to use new GIT_-prefix environment variables. Avoid the warnings from newer git versions. --- diff --git a/applypatch b/applypatch index 50072017..160931d7 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