summaryrefslogtreecommitdiff
path: root/environment.c
diff options
context:
space:
mode:
authorLibravatar Jeff King <peff@peff.net>2008-12-09 03:13:21 -0500
committerLibravatar Junio C Hamano <gitster@pobox.com>2008-12-09 22:28:55 -0800
commit3aa1f7ca3779f73164b285c070b71abcdd7397c1 (patch)
tree5c56fd2f96e46ea62202bc063d8d21d36eb618a0 /environment.c
parentdiff: fix handling of binary rewrite diffs (diff)
downloadtgif-3aa1f7ca3779f73164b285c070b71abcdd7397c1.tar.xz
diff: respect textconv in rewrite diffs
Currently we just skip rewrite diffs for binary files; this patch makes an exception for files which will be textconv'd, and actually performs the textconv before generating the diff. Conceptually, rewrite diffs should be in the exact same format as the a non-rewrite diff, except that we refuse to share any context. Thus it makes very little sense for "git diff" to show a textconv'd diff, but for "git diff -B" to show "Binary files differ". Signed-off-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'environment.c')
0 files changed, 0 insertions, 0 deletions