diff options
author | Jeff King <peff@peff.net> | 2007-05-26 11:33:03 +0400 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2007-05-26 11:33:03 +0400 |
commit | a23bfaed7da90ccdc75cbfd0099741080381f60a (patch) | |
tree | d423650484673c97e53810dfb599f2d6415e6ada /git-tag.sh | |
parent | 816366e23dfe366b938b427eac8ea1c8345ea339 (diff) |
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-tag.sh')
-rwxr-xr-x | git-tag.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/git-tag.sh b/git-tag.sh index 4a0a7b6607..6f0b7a7219 100755 --- a/git-tag.sh +++ b/git-tag.sh @@ -126,7 +126,7 @@ if [ "$annotate" ]; then echo "#" ) > "$GIT_DIR"/TAG_EDITMSG ${VISUAL:-${EDITOR:-vi}} "$GIT_DIR"/TAG_EDITMSG || exit else - echo "$message" >"$GIT_DIR"/TAG_EDITMSG + printf '%s\n' "$message" >"$GIT_DIR"/TAG_EDITMSG fi grep -v '^#' <"$GIT_DIR"/TAG_EDITMSG | |