aboutsummaryrefslogtreecommitdiffstats
path: root/org.eclipse.jgit/src
diff options
context:
space:
mode:
authorMatthias Sohn <matthias.sohn@sap.com>2024-11-20 09:42:41 +0000
committerGerrit Code Review <support@gerrithub.io>2024-11-20 09:42:41 +0000
commit3fd020d4ac4b1f6a3ae1be3ad4827842cdfdc143 (patch)
tree2e16a0f6d7b1dd201ecef64ec52bc6165d28fef2 /org.eclipse.jgit/src
parent336ab76c7ffecbb9b5cae61a62b3954e6cc32651 (diff)
parentba905906c1a0b56232ef987db4c6c77d44f25f25 (diff)
downloadjgit-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.java2
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