summaryrefslogtreecommitdiff
path: root/Documentation/config.txt
diff options
context:
space:
mode:
authorLibravatar Martin Koegler <mkoegler@auto.tuwien.ac.at>2007-05-28 23:20:58 +0200
committerLibravatar Junio C Hamano <junkio@cox.net>2007-05-29 01:24:42 -0700
commit074b2eea296886e179ef73e1c364f370a223618a (patch)
tree5ea794870257a6f5441f9837889a0c5927862f20 /Documentation/config.txt
parentbuiltin-pack-objects: don't fail, if delta is not possible (diff)
downloadtgif-074b2eea296886e179ef73e1c364f370a223618a.tar.xz
git-pack-objects: cache small deltas between big objects
Creating deltas between big blobs is a CPU and memory intensive task. In the writing phase, all (not reused) deltas are redone. This patch adds support for caching deltas from the deltifing phase, so that that the writing phase is faster. The caching is limited to small deltas to avoid increasing memory usage very much. The implemented limit is (memory needed to create the delta)/1024. Signed-off-by: Martin Koegler <mkoegler@auto.tuwien.ac.at> Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'Documentation/config.txt')
-rw-r--r--Documentation/config.txt5
1 files changed, 5 insertions, 0 deletions
diff --git a/Documentation/config.txt b/Documentation/config.txt
index 3d8f03dfe5..ab0f8f4865 100644
--- a/Documentation/config.txt
+++ b/Documentation/config.txt
@@ -567,6 +567,11 @@ pack.compression::
slowest. If not set, defaults to core.compression. If that is
not set, defaults to -1.
+pack.deltaCacheSize::
+ The maxium memory in bytes used for caching deltas in
+ gitlink:git-pack-objects[1].
+ A value of 0 means no limit. Defaults to 0.
+
pull.octopus::
The default merge strategy to use when pulling multiple branches
at once.