From c9049d41b8d91a198e4642b266e50a506024f0aa Mon Sep 17 00:00:00 2001 From: Linus Torvalds Date: Tue, 17 May 2005 09:35:01 -0700 Subject: [PATCH] Update applypatch to use new GIT_-prefix environment variables. Avoid the warnings from newer git versions. --- applypatch | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/applypatch b/applypatch index 500720171..160931d74 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 -- 2.26.2