author | Junio C Hamano <junkio@cox.net> | |
Sat, 21 May 2005 09:42:35 +0000 (02:42 -0700) | ||
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | |
Sat, 21 May 2005 16:58:03 +0000 (09:58 -0700) | ||
commit | c3e7fbcbd0561cd13abc8cefcea3e09ab6090d50 | |
tree | ee4065e9e7607efef9451ee696be44333496bccc | tree | snapshot |
parent | 52e9578985fb636ec1d3f6cf794fdadd5ec896fc | commit | diff |
[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>
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 | blob | history | |
diff-files.c | diff | blob | history | |
t/t4003-diff-rename-1.sh | diff | blob | history |