author | Junio C Hamano <gitster@pobox.com> | |
Sat, 1 Dec 2007 06:22:38 +0000 (22:22 -0800) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Sun, 2 Dec 2007 10:24:46 +0000 (02:24 -0800) | ||
commit | b45563a229f5150271837cf487a91ddd8224fbd3 | |
tree | a0b363c225777490a4c22adaf280ea7ef69f7772 | tree | snapshot |
parent | 1c46ab1fada6eb449336a624995293cdd74f2b08 | commit | diff |
rename: Break filepairs with different types.
When we consider if a path has been totally rewritten, we did not
touch changes from symlinks to files or vice versa. But a change
that modifies even the type of a blob surely should count as a
complete rewrite.
While we are at it, modernise diffcore-break to be aware of gitlinks (we
do not want to touch them).
Signed-off-by: Junio C Hamano <gitster@pobox.com>
When we consider if a path has been totally rewritten, we did not
touch changes from symlinks to files or vice versa. But a change
that modifies even the type of a blob surely should count as a
complete rewrite.
While we are at it, modernise diffcore-break to be aware of gitlinks (we
do not want to touch them).
Signed-off-by: Junio C Hamano <gitster@pobox.com>
cache.h | diff | blob | history | |
diffcore-break.c | diff | blob | history | |
t/t4008-diff-break-rewrite.sh | diff | blob | history | |
t/t4023-diff-rename-typechange.sh | [new file with mode: 0755] | blob |
tree-walk.h | diff | blob | history |