diff options
author | Matthias Sohn <matthias.sohn@sap.com> | 2024-11-20 09:42:41 +0000 |
---|---|---|
committer | Gerrit Code Review <support@gerrithub.io> | 2024-11-20 09:42:41 +0000 |
commit | 3fd020d4ac4b1f6a3ae1be3ad4827842cdfdc143 (patch) | |
tree | 2e16a0f6d7b1dd201ecef64ec52bc6165d28fef2 /org.eclipse.jgit/src | |
parent | 336ab76c7ffecbb9b5cae61a62b3954e6cc32651 (diff) | |
parent | ba905906c1a0b56232ef987db4c6c77d44f25f25 (diff) | |
download | jgit-3fd020d4ac4b1f6a3ae1be3ad4827842cdfdc143.tar.gz jgit-3fd020d4ac4b1f6a3ae1be3ad4827842cdfdc143.zip |
Merge "Change default similarity score to 50(%) to match git's default"
Diffstat (limited to 'org.eclipse.jgit/src')
-rw-r--r-- | org.eclipse.jgit/src/org/eclipse/jgit/diff/SimilarityRenameDetector.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/org.eclipse.jgit/src/org/eclipse/jgit/diff/SimilarityRenameDetector.java b/org.eclipse.jgit/src/org/eclipse/jgit/diff/SimilarityRenameDetector.java index 5de7bac112..fb98df7c9e 100644 --- a/org.eclipse.jgit/src/org/eclipse/jgit/diff/SimilarityRenameDetector.java +++ b/org.eclipse.jgit/src/org/eclipse/jgit/diff/SimilarityRenameDetector.java @@ -80,7 +80,7 @@ class SimilarityRenameDetector { private long[] matrix; /** Score a pair must exceed to be considered a rename. */ - private int renameScore = 60; + private int renameScore = 50; /** * File size threshold (in bytes) for detecting renames. Files larger |