summaryrefslogtreecommitdiff
path: root/git-relink.perl
diff options
context:
space:
mode:
authorJunio C Hamano <junkio@cox.net>2005-09-10 19:42:32 (GMT)
committerJunio C Hamano <junkio@cox.net>2005-09-10 19:42:32 (GMT)
commit6bac10d89d0889118a3e747c9c9210fd437c140d (patch)
treead08af5231936eb82459b645f6b804b18d1a9d61 /git-relink.perl
parentb779d5f009f8e12df13d650ad8a57e63068a9c82 (diff)
downloadgit-6bac10d89d0889118a3e747c9c9210fd437c140d.zip
git-6bac10d89d0889118a3e747c9c9210fd437c140d.tar.gz
git-6bac10d89d0889118a3e747c9c9210fd437c140d.tar.bz2
Fix copy marking from diffcore-rename.
When (A,B) ==> (B,C) rename-copy was detected, we incorrectly said that C was created by copying B. This is because we only check if the path of rename/copy source still exists in the resulting tree to see if the file is renamed out of existence. In this case, the new B is created by copying or renaming A, so the original B is lost and we should say C is a rename of B not a copy of B. Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'git-relink.perl')
0 files changed, 0 insertions, 0 deletions