diff options
author | Jeff King <peff@peff.net> | 2007-05-26 00:33:03 -0700 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2007-05-26 00:33:03 -0700 |
commit | a23bfaed7da90ccdc75cbfd0099741080381f60a (patch) | |
tree | d423650484673c97e53810dfb599f2d6415e6ada /git-am.sh | |
parent | 816366e23dfe366b938b427eac8ea1c8345ea339 (diff) | |
download | git-a23bfaed7da90ccdc75cbfd0099741080381f60a.tar.gz |
More echo "$user_message" fixes.
Here are fixes to more uses of 'echo "$msg"' where $msg could contain
backslashed sequence.
Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'git-am.sh')
-rwxr-xr-x | git-am.sh | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -18,7 +18,7 @@ stop_here () { stop_here_user_resolve () { if [ -n "$resolvemsg" ]; then - echo "$resolvemsg" + printf '%s\n' "$resolvemsg" stop_here $1 fi cmdline=$(basename $0) @@ -146,7 +146,7 @@ do git_apply_opt="$git_apply_opt $1"; shift ;; --resolvemsg=*) - resolvemsg=$(echo "$1" | sed -e "s/^--resolvemsg=//"); shift ;; + resolvemsg=${1#--resolvemsg=}; shift ;; --) shift; break ;; |