Fix rewrite_diff() name quoting.
commitd56250911f4ec074048f4edb34551eaf384172cc
authorJunio C Hamano <gitster@pobox.com>
Thu, 27 Dec 2007 01:13:36 +0000 (26 17:13 -0800)
committerJunio C Hamano <gitster@pobox.com>
Thu, 27 Dec 2007 01:13:36 +0000 (26 17:13 -0800)
tree8978a2314f00add8f84a9164ba69da2fb70c9aeb
parent462a15bc82e6adbcb8db5fcc4791ec70a026aa4b
Fix rewrite_diff() name quoting.

This moves the logic to quote two paths (prefix + path) in
C-style introduced in the previous commit from the
dump_quoted_path() in combine-diff.c to quote.c, and uses it to
fix rewrite_diff() that never C-quoted the pathnames correctly.

Signed-off-by: Junio C Hamano <gitster@pobox.com>
combine-diff.c
diff.c
quote.c
quote.h