[PATCH] Diff overhaul, adding the other half of copy detection.
authorJunio C Hamano <junkio@cox.net>
Sat, 21 May 2005 09:42:35 +0000 (02:42 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Sat, 21 May 2005 16:58:03 +0000 (09:58 -0700)
commitc3e7fbcbd0561cd13abc8cefcea3e09ab6090d50
treeee4065e9e7607efef9451ee696be44333496bccc
parent52e9578985fb636ec1d3f6cf794fdadd5ec896fc
[PATCH] Diff overhaul, adding the other half of copy detection.

This patch extends diff-cache and diff-files to report the
unmodified files to diff-core as well when -C (copy detection)
is in effect, so that the unmodified files can also be used as
the source candidates.  The existing test t4003 has been
extended to cover this case.

Signed-off-by: Junio C Hamano <junkio@cox.net>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
diff-cache.c
diff-files.c
t/t4003-diff-rename-1.sh