diff options
author | Elijah Newren <newren@gmail.com> | 2021-02-14 08:51:46 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2021-02-16 03:02:16 +0100 |
commit | f3845257a55aa5c949ce2543d53fe1f28b5072df (patch) | |
tree | d991c7ee26e014a7615c63d2fb6a369f0a32eb2f /commit-slab.h | |
parent | diffcore-rename: filter rename_src list when possible (diff) | |
download | git-f3845257a55aa5c949ce2543d53fe1f28b5072df.tar.xz git-f3845257a55aa5c949ce2543d53fe1f28b5072df.zip |
t4001: add a test comparing basename similarity and content similarity
Add a simple test where a removed file is similar to two different added
files; one of them has the same basename, and the other has a slightly
higher content similarity. In the current test, content similarity is
weighted higher than filename similarity.
Subsequent commits will add a new rule that weighs a mixture of filename
similarity and content similarity in a manner that will change the
outcome of this testcase.
Signed-off-by: Elijah Newren <newren@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'commit-slab.h')
0 files changed, 0 insertions, 0 deletions