summaryrefslogtreecommitdiff
path: root/diff.c
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2007-12-27 00:51:19 (GMT)
committerJunio C Hamano <gitster@pobox.com>2007-12-27 00:51:19 (GMT)
commit462a15bc82e6adbcb8db5fcc4791ec70a026aa4b (patch)
tree548e2bfd2abb192de3de49d038dd6a38cc4720b2 /diff.c
parent25db465a34ab6fe840011e5d746701186e9e9884 (diff)
downloadgit-462a15bc82e6adbcb8db5fcc4791ec70a026aa4b.zip
git-462a15bc82e6adbcb8db5fcc4791ec70a026aa4b.tar.gz
git-462a15bc82e6adbcb8db5fcc4791ec70a026aa4b.tar.bz2
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 'diff.c')
0 files changed, 0 insertions, 0 deletions