]> source.dussan.org Git - jgit.git/commit
Change default similarity score to 50(%) to match git's default 08/1203908/2
authorMatthias Sohn <matthias.sohn@sap.com>
Thu, 14 Nov 2024 21:12:02 +0000 (22:12 +0100)
committerMatthias Sohn <matthias.sohn@sap.com>
Thu, 14 Nov 2024 21:26:45 +0000 (22:26 +0100)
commitba905906c1a0b56232ef987db4c6c77d44f25f25
treeb6d3334a0b8abbeae2630111e73a73a2979422e3
parentc67393562be7e3db0e39cb2d3ff5f8192e2f2cd5
Change default similarity score to 50(%) to match git's default

Git uses a default similarity score of 50(%) for rename detection.
Fix RenameDetector to use the same default score.

See https://git-scm.com/docs/git-diff#Documentation/git-diff.txt--Mltngt

Bug: jgit-110
Change-Id: I4b75910a02bca1afc108ad9e5609fda1e49a29da
org.eclipse.jgit/src/org/eclipse/jgit/diff/SimilarityRenameDetector.java