For daemons we might want to disable delta compression entirely, or
in some strange case an administrator might need to turn of delta
reuse. Expose these normally internal pack settings through the pack
configuration section.
Change-Id: I39bfefee8384c864cc04ffac724f197240c8a11a
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
setIndexVersion(rc.getInt("pack", "indexversion", getIndexVersion()));
setBigFileThreshold(rc.getLong("core", "bigfilethreshold", getBigFileThreshold()));
setThreads(rc.getInt("pack", "threads", getThreads()));
+
+ // These variables aren't standardized
+ //
+ setReuseDeltas(rc.getBoolean("pack", "reusedeltas", isReuseDeltas()));
+ setReuseObjects(rc.getBoolean("pack", "reuseobjects", isReuseObjects()));
+ setDeltaCompress(rc.getBoolean("pack", "deltacompression", isDeltaCompress()));
}
}