author | Junio C Hamano <gitster@pobox.com> | |
Thu, 27 Dec 2007 01:13:36 +0000 (17:13 -0800) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Thu, 27 Dec 2007 01:13:36 +0000 (17:13 -0800) | ||
commit | d56250911f4ec074048f4edb34551eaf384172cc | |
tree | 8978a2314f00add8f84a9164ba69da2fb70c9aeb | tree | snapshot |
parent | 462a15bc82e6adbcb8db5fcc4791ec70a026aa4b | commit | diff |
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>
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 | blob | history | |
diff.c | diff | blob | history | |
quote.c | diff | blob | history | |
quote.h | diff | blob | history |