git-am: re-fix the diag message printing
commit4d2e283a1ecda43de9b5cafea27b68a08dfd5767
authorJunio C Hamano <gitster@pobox.com>
Mon, 19 Jan 2009 03:34:31 +0000 (18 19:34 -0800)
committerJunio C Hamano <gitster@pobox.com>
Mon, 19 Jan 2009 03:34:31 +0000 (18 19:34 -0800)
treec68874e0ec3a9775fd14b21e9b83f3bb692cbb4f
parenta70d4100d027503f441d696cb2bc60c65349d2e9
git-am: re-fix the diag message printing

The $FIRSTLINE variable is from the user's commit and can contain
arbitrary backslash escapes that may be (mis)interpreted when given to
"echo", depending on the implementation.  Use "printf" to work around the
issue.

Signed-off-by: Junio C Hamano <gitster@pobox.com>
git-am.sh