aboutsummaryrefslogtreecommitdiff
path: root/tree-walk.h
diff options
context:
space:
mode:
authorRené Scharfe <rene.scharfe@lsrfire.ath.cx>2012-01-06 18:13:00 +0100
committerJunio C Hamano <gitster@pobox.com>2012-01-06 11:10:05 -0800
commitbaf5aaa33383af656a34b7ba9039e9eb3c9e678c (patch)
tree35d95535abf0f0805ab2154b673b6f0c148e6b9c /tree-walk.h
parent7ed863a85a6ce2c4ac4476848310b8f917ab41f9 (diff)
downloadgit-baf5aaa33383af656a34b7ba9039e9eb3c9e678c.tar.gz
git-baf5aaa33383af656a34b7ba9039e9eb3c9e678c.tar.xz
xdiff: print post-image for common records instead of pre-image
Normally it doesn't matter if we show the pre-image or th post-image for the common parts of a diff because they are the same. If white-space changes are ignored they can differ, though. The new text after applying the diff is more interesting in that case, so show that instead of the old contents. Note: GNU diff shows the pre-image. Suggested-by: Junio C Hamano <gitster@pobox.com> Signed-off-by: Rene Scharfe <rene.scharfe@lsrfire.ath.cx> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'tree-walk.h')
0 files changed, 0 insertions, 0 deletions