Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
git-am: use printf instead of echo on user-supplied strings
[gitweb.git]
/
git-am.sh
diff --git
a/git-am.sh
b/git-am.sh
index c9f66e278454374714794477be7ff8b93cd05a0f..543efd0ad3512d09081432c4590af7575f93dd1f 100755
(executable)
--- a/
git-am.sh
+++ b/
git-am.sh
@@
-331,7
+331,7
@@
do
ADD_SIGNOFF=
fi
{
-
echo
"$SUBJECT"
+
printf '%s\n'
"$SUBJECT"
if test -s "$dotest/msg-clean"
then
echo
@@
-394,7
+394,7
@@
do
fi
echo
-
echo "Applying '$SUBJECT'
"
+
printf 'Applying %s\n' "$SUBJECT
"
echo
case "$resolved" in