diff options
author | Junio C Hamano <gitster@pobox.com> | 2007-12-26 16:51:19 -0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2007-12-26 16:51:19 -0800 |
commit | 462a15bc82e6adbcb8db5fcc4791ec70a026aa4b (patch) | |
tree | 548e2bfd2abb192de3de49d038dd6a38cc4720b2 /quote.c | |
parent | 25db465a34ab6fe840011e5d746701186e9e9884 (diff) | |
download | git-462a15bc82e6adbcb8db5fcc4791ec70a026aa4b.tar.gz |
combine-diff: Fix path quoting
Earlier when showing combined diff, the filenames on the ---/+++
header lines were quoted incorrectly. a/ (or b/) prefix was
output literally and then the path was output, with c-quoting.
This fixes the quoting logic, and while at it, adjusts the code
to use the customizable prefix (a_prefix and b_prefix)
introduced recently.
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'quote.c')
0 files changed, 0 insertions, 0 deletions