summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorRené Scharfe <rene.scharfe@lsrfire.ath.cx>2007-06-24 22:23:28 (GMT)
committerJunio C Hamano <gitster@pobox.com>2007-06-25 06:12:31 (GMT)
commitcfc0aef1ffb8a9fe2792667597a05bbf3b6b1258 (patch)
treee16d104e9b3b90a9c952c5f4b575e9d83a4fe301 /Documentation
parentaeb59328453cd4f438345ea79ff04c96bccbbbb8 (diff)
downloadgit-cfc0aef1ffb8a9fe2792667597a05bbf3b6b1258.zip
git-cfc0aef1ffb8a9fe2792667597a05bbf3b6b1258.tar.gz
git-cfc0aef1ffb8a9fe2792667597a05bbf3b6b1258.tar.bz2
diffcore-rename: don't change similarity index based on basename equality
This implements a suggestion from Johannes. It uses a separate field in struct diff_score to keep the result of the file name comparison in the rename detection logic. This reverts the value of the similarity index to be a function of file contents, only, and basename comparison is only used to decide between files with equal amounts of content changes. Signed-off-by: Rene Scharfe <rene.scharfe@lsrfire.ath.cx> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions