rename: Break filepairs with different types.
authorJunio C Hamano <gitster@pobox.com>
Sat, 1 Dec 2007 06:22:38 +0000 (22:22 -0800)
committerJunio C Hamano <gitster@pobox.com>
Sun, 2 Dec 2007 10:24:46 +0000 (02:24 -0800)
commitb45563a229f5150271837cf487a91ddd8224fbd3
treea0b363c225777490a4c22adaf280ea7ef69f7772
parent1c46ab1fada6eb449336a624995293cdd74f2b08
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>
cache.h
diffcore-break.c
t/t4008-diff-break-rewrite.sh
t/t4023-diff-rename-typechange.sh [new file with mode: 0755]
tree-walk.h