author | Junio C Hamano <junkio@cox.net> | |
Mon, 23 May 2005 04:24:49 +0000 (21:24 -0700) | ||
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | |
Mon, 23 May 2005 18:49:30 +0000 (11:49 -0700) | ||
commit | 60896c7bfed67f1c7364595213ef9239642f83c5 | |
tree | 01c56ae444ab86d7df74664e04ac4d55e9658791 | tree | snapshot |
parent | c1bb93502012b710ec5a31dff62d4aca7bf51adc | commit | diff |
[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>
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 | diff | blob | history | |
t/t4004-diff-rename-symlink.sh | [new file with mode: 0644] | blob |