summaryrefslogtreecommitdiff
path: root/quote.c
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2007-12-26 16:51:19 -0800
committerJunio C Hamano <gitster@pobox.com>2007-12-26 16:51:19 -0800
commit462a15bc82e6adbcb8db5fcc4791ec70a026aa4b (patch)
tree548e2bfd2abb192de3de49d038dd6a38cc4720b2 /quote.c
parent25db465a34ab6fe840011e5d746701186e9e9884 (diff)
downloadgit-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