Browse Source

Use the same default diff.renameLimit = 400 like native git

Bug: 434085
Change-Id: I43a0401049cd85b2c7a2162ccc071af7fffdfed3
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
stable-5.1
Matthias Sohn 6 years ago
parent
commit
a253c39729
  1. 2
      org.eclipse.jgit/src/org/eclipse/jgit/diff/DiffConfig.java

2
org.eclipse.jgit/src/org/eclipse/jgit/diff/DiffConfig.java

@ -82,7 +82,7 @@ public class DiffConfig {
renameDetectionType = parseRenameDetectionType(rc.getString( renameDetectionType = parseRenameDetectionType(rc.getString(
ConfigConstants.CONFIG_DIFF_SECTION, null, ConfigConstants.CONFIG_KEY_RENAMES)); ConfigConstants.CONFIG_DIFF_SECTION, null, ConfigConstants.CONFIG_KEY_RENAMES));
renameLimit = rc.getInt(ConfigConstants.CONFIG_DIFF_SECTION, renameLimit = rc.getInt(ConfigConstants.CONFIG_DIFF_SECTION,
ConfigConstants.CONFIG_KEY_RENAMELIMIT, 200); ConfigConstants.CONFIG_KEY_RENAMELIMIT, 400);
} }
/** /**

Loading…
Cancel
Save