git-commit: use printf '%s\n' instead of echo on user-supplied strings
commit293623edbc9488adbc71c2e0de1100b52cb193ac
authorJunio C Hamano <junkio@cox.net>
Sat, 26 May 2007 05:00:54 +0000 (25 22:00 -0700)
committerJunio C Hamano <junkio@cox.net>
Sat, 26 May 2007 07:23:23 +0000 (26 00:23 -0700)
treea5b4ebef30dda104fbdceaf203570a83a8cbfe87
parent4b7cc26a74b01ceab14a32ef66704557b26d5622
git-commit: use printf '%s\n' instead of echo on user-supplied strings

This fixes the same issue git-am had, which was fixed by Jeff
King in the previous commit.  Cleverly enough, this commit's log
message is a good test case at the same time.

Signed-off-by: Junio C Hamano <junkio@cox.net>
git-commit.sh