|
|
|
@ -83,9 +83,12 @@ public class CoreConfig {
|
|
|
|
|
private final String excludesfile; |
|
|
|
|
|
|
|
|
|
private CoreConfig(final Config rc) { |
|
|
|
|
compression = rc.getInt("core", "compression", DEFAULT_COMPRESSION); |
|
|
|
|
packIndexVersion = rc.getInt("pack", "indexversion", 2); |
|
|
|
|
logAllRefUpdates = rc.getBoolean("core", "logallrefupdates", true); |
|
|
|
|
compression = rc.getInt(ConfigConstants.CONFIG_CORE_SECTION, |
|
|
|
|
ConfigConstants.CONFIG_KEY_COMPRESSION, DEFAULT_COMPRESSION); |
|
|
|
|
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, |
|
|
|
|
ConfigConstants.CONFIG_KEY_EXCLUDESFILE); |
|
|
|
|
} |
|
|
|
|