Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
Update applypatch to use new GIT_-prefix environment variables.
author
Linus Torvalds
<torvalds@ppc970.osdl.org>
Tue, 17 May 2005 16:35:01 +0000
(09:35 -0700)
committer
Linus Torvalds
<torvalds@ppc970.osdl.org>
Tue, 17 May 2005 16:35:01 +0000
(09:35 -0700)
Avoid the warnings from newer git versions.
applypatch
patch
|
blob
|
history
raw
|
patch
|
inline
| side by side (parent:
62c1f6b
)
diff --git
a/applypatch
b/applypatch
index 500720171f0ba29b9e34e2a7049969e00a3cc254..160931d74a4454d406aaf24a454c7bded82c732a 100755
(executable)
--- a/
applypatch
+++ b/
applypatch
@@
-24,9
+24,9
@@
INFO=$4
EDIT=${VISUAL:-$EDITOR}
EDIT=${EDIT:-vi}
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
export SUBJECT="$(sed -n '/^Subject/ s/Subject: //p' .dotest/info)"
if [ -n "$signoff" -a -f "$signoff" ]; then