Fix "quote" misconversion for rewrite diff output.
authorJunio C Hamano <gitster@pobox.com>
Thu, 22 Nov 2007 07:06:44 +0000 (23:06 -0800)
committerJunio C Hamano <gitster@pobox.com>
Thu, 22 Nov 2007 07:06:44 +0000 (23:06 -0800)
commitf8b6809d52992ad14d035bcf7c8d8cfe00ef45a0
treedc30997d91721ddbc4e92233b1bf493443bf55dd
parentd794d9e70ebb8c767b04f25c03290ef305cd31ab
Fix "quote" misconversion for rewrite diff output.

663af3422a648e87945e4d8c0cc3e13671f2bbde (Full rework of
quote_c_style and write_name_quoted.) mistakenly used puts()
when writing out a fixed string when it did not want to add a
terminating LF.

Signed-off-by: Junio C Hamano <gitster@pobox.com>
diff.c
t/t4022-diff-rewrite.sh [new file with mode: 0755]