From: Jeff King Date: Tue, 9 Dec 2008 08:13:21 +0000 (-0500) Subject: diff: respect textconv in rewrite diffs X-Git-Tag: v1.6.1-rc3~11 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/3aa1f7ca3779f73164b285c070b71abcdd7397c1?hp=3aa1f7ca3779f73164b285c070b71abcdd7397c1 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 Signed-off-by: Junio C Hamano ---