summaryrefslogtreecommitdiff
path: root/builtin-pack-objects.c
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2009-08-10 22:16:09 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2009-08-10 22:16:09 -0700
commitefd3f9fdbcc1f4fc8b423dfa4e73f11a18d0500f (patch)
tree858e5edc452e5e9b66a4e0637f480f196a428f5f /builtin-pack-objects.c
parentMerge branch 'jp/symlink-dirs' (diff)
parentdon't let the delta cache grow unbounded in 'git repack' (diff)
downloadtgif-efd3f9fdbcc1f4fc8b423dfa4e73f11a18d0500f.tar.xz
Merge branch 'np/maint-limit-delta-cache'
* np/maint-limit-delta-cache: don't let the delta cache grow unbounded in 'git repack'
Diffstat (limited to 'builtin-pack-objects.c')
-rw-r--r--builtin-pack-objects.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/builtin-pack-objects.c b/builtin-pack-objects.c
index ef4bf6bc14..9cc8a8451d 100644
--- a/builtin-pack-objects.c
+++ b/builtin-pack-objects.c
@@ -86,7 +86,7 @@ static int pack_compression_level = Z_DEFAULT_COMPRESSION;
static int pack_compression_seen;
static unsigned long delta_cache_size = 0;
-static unsigned long max_delta_cache_size = 0;
+static unsigned long max_delta_cache_size = 256 * 1024 * 1024;
static unsigned long cache_max_small_delta_size = 1000;
static unsigned long window_memory_limit = 0;