summaryrefslogtreecommitdiff
path: root/git-tag.sh
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <junkio@cox.net>2007-05-26 01:30:40 -0700
committerLibravatar Junio C Hamano <junkio@cox.net>2007-05-26 01:30:40 -0700
commitd1c7c27ea3d9c92be2c7a9c5fc72ba5f228c424a (patch)
tree929a074f6c4001add762cdaefc11887a6a291966 /git-tag.sh
parentFix mishandling of $Id$ expanded in the repository copy in convert.c (diff)
parentFix git-svn to handle svn not reporting the md5sum of a file, and test. (diff)
downloadtgif-d1c7c27ea3d9c92be2c7a9c5fc72ba5f228c424a.tar.xz
Merge branch 'maint-1.5.1' into maint
* maint-1.5.1: Fix git-svn to handle svn not reporting the md5sum of a file, and test. More echo "$user_message" fixes. Add tests for the last two fixes. git-commit: use printf '%s\n' instead of echo on user-supplied strings git-am: use printf instead of echo on user-supplied strings Documentation: Add definition of "evil merge" to GIT Glossary Replace the last 'dircache's by 'index' Documentation: Clean up links in GIT Glossary
Diffstat (limited to 'git-tag.sh')
-rwxr-xr-xgit-tag.sh2
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 |