diff options
author | René Scharfe <rene.scharfe@lsrfire.ath.cx> | 2007-06-25 00:23:28 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2007-06-24 23:12:31 -0700 |
commit | cfc0aef1ffb8a9fe2792667597a05bbf3b6b1258 (patch) | |
tree | e16d104e9b3b90a9c952c5f4b575e9d83a4fe301 /Documentation | |
parent | aeb59328453cd4f438345ea79ff04c96bccbbbb8 (diff) | |
download | git-cfc0aef1ffb8a9fe2792667597a05bbf3b6b1258.tar.gz |
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