summaryrefslogtreecommitdiff
path: root/diff-tree-helper.c
diff options
context:
space:
mode:
authorJunio C Hamano <junkio@cox.net>2005-04-28 08:04:39 -0700
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-04-28 08:04:39 -0700
commit2f97813870c73a89b673ea7882f2a078d25c2dcd (patch)
treea5d7e40207ee2bd713a15d5bc839168139055f5e /diff-tree-helper.c
parentd5e276884a0780c61d4306f1527047f6c4180ab2 (diff)
downloadgit-2f97813870c73a89b673ea7882f2a078d25c2dcd.tar.gz
[PATCH] Make diff-cache and friends output more cg-patch friendly.
This changes the way the default arguments to diff are built when diff-cache and friends are invoked with -p and there is no GIT_EXTERNAL_DIFF environment variable. It attempts to be more cg-patch friendly by: - Showing diffs against /dev/null to denote added or removed files; - Showing file modes for existing files as a comment after the diff label. Unfortunately with this change GIT_DIFF_CMD customization cannot be supported easily anymore, so it has been dropped. GIT_DIFF_OPTS customization to change diffs from unified to context is still there, though. Signed-off-by: Junio C Hamano <junkio@cox.net> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'diff-tree-helper.c')
0 files changed, 0 insertions, 0 deletions