[PATCH] Be careful with symlinks when detecting renames and copies.
authorJunio C Hamano <junkio@cox.net>
Mon, 23 May 2005 04:24:49 +0000 (21:24 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Mon, 23 May 2005 18:49:30 +0000 (11:49 -0700)
commit60896c7bfed67f1c7364595213ef9239642f83c5
tree01c56ae444ab86d7df74664e04ac4d55e9658791
parentc1bb93502012b710ec5a31dff62d4aca7bf51adc
[PATCH] Be careful with symlinks when detecting renames and copies.

Earlier round was not treating symbolic links carefully enough,
and would have produced diff output that renamed/copied then
edited the contents of a symbolic link, which made no practical
sense.  Change it to detect only pure renames.

Signed-off-by: Junio C Hamano <junkio@cox.net>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
diffcore-rename.c
t/t4004-diff-rename-symlink.sh [new file with mode: 0644]