Update applypatch to use new GIT_-prefix environment variables.
Avoid the warnings from newer git versions.
This commit is contained in:
parent
62c1f6b4af
commit
c9049d41b8
@ -24,9 +24,9 @@ INFO=$4
|
|||||||
EDIT=${VISUAL:-$EDITOR}
|
EDIT=${VISUAL:-$EDITOR}
|
||||||
EDIT=${EDIT:-vi}
|
EDIT=${EDIT:-vi}
|
||||||
|
|
||||||
export AUTHOR_NAME="$(sed -n '/^Author/ s/Author: //p' .dotest/info)"
|
export GIT_AUTHOR_NAME="$(sed -n '/^Author/ s/Author: //p' .dotest/info)"
|
||||||
export AUTHOR_EMAIL="$(sed -n '/^Email/ s/Email: //p' .dotest/info)"
|
export GIT_AUTHOR_EMAIL="$(sed -n '/^Email/ s/Email: //p' .dotest/info)"
|
||||||
export AUTHOR_DATE="$(sed -n '/^Date/ s/Date: //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)"
|
export SUBJECT="$(sed -n '/^Subject/ s/Subject: //p' .dotest/info)"
|
||||||
|
|
||||||
if [ -n "$signoff" -a -f "$signoff" ]; then
|
if [ -n "$signoff" -a -f "$signoff" ]; then
|
||||||
|
Loading…
Reference in New Issue
Block a user