|
|
@ -83,9 +83,12 @@ public class CoreConfig { |
|
|
|
private final String excludesfile; |
|
|
|
private final String excludesfile; |
|
|
|
|
|
|
|
|
|
|
|
private CoreConfig(final Config rc) { |
|
|
|
private CoreConfig(final Config rc) { |
|
|
|
compression = rc.getInt("core", "compression", DEFAULT_COMPRESSION); |
|
|
|
compression = rc.getInt(ConfigConstants.CONFIG_CORE_SECTION, |
|
|
|
packIndexVersion = rc.getInt("pack", "indexversion", 2); |
|
|
|
ConfigConstants.CONFIG_KEY_COMPRESSION, DEFAULT_COMPRESSION); |
|
|
|
logAllRefUpdates = rc.getBoolean("core", "logallrefupdates", true); |
|
|
|
packIndexVersion = rc.getInt(ConfigConstants.CONFIG_PACK_SECTION, |
|
|
|
|
|
|
|
ConfigConstants.CONFIG_KEY_INDEXVERSION, 2); |
|
|
|
|
|
|
|
logAllRefUpdates = rc.getBoolean(ConfigConstants.CONFIG_CORE_SECTION, |
|
|
|
|
|
|
|
ConfigConstants.CONFIG_KEY_LOGALLREFUPDATES, true); |
|
|
|
excludesfile = rc.getString(ConfigConstants.CONFIG_CORE_SECTION, null, |
|
|
|
excludesfile = rc.getString(ConfigConstants.CONFIG_CORE_SECTION, null, |
|
|
|
ConfigConstants.CONFIG_KEY_EXCLUDESFILE); |
|
|
|
ConfigConstants.CONFIG_KEY_EXCLUDESFILE); |
|
|
|
} |
|
|
|
} |
|
|
|