aboutsummaryrefslogtreecommitdiffstats
path: root/pack-objects.h
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2024-12-04 10:31:46 +0900
committerJunio C Hamano <gitster@pobox.com>2024-12-04 10:31:46 +0900
commit33833ed08b67d1c43f4121ce8b1ec7e03b734dea (patch)
treefcb768700151c4718f980a3dfef2b0ecc2e473b2 /pack-objects.h
parent4083a6f05206077a50af7658bedc17a94c54607d (diff)
parent281164995159ed641f5e76f40515baf0b5811943 (diff)
downloadgit-33833ed08b67d1c43f4121ce8b1ec7e03b734dea.tar.gz
Merge branch 'kn/the-repository' into kn/midx-wo-the-repository
* kn/the-repository: packfile.c: remove unnecessary prepare_packed_git() call midx: add repository to `multi_pack_index` struct config: make `packed_git_(limit|window_size)` non-global variables config: make `delta_base_cache_limit` a non-global variable packfile: pass down repository to `for_each_packed_object` packfile: pass down repository to `has_object[_kept]_pack` packfile: pass down repository to `odb_pack_name` packfile: pass `repository` to static function in the file packfile: use `repository` from `packed_git` directly packfile: add repository to struct `packed_git`
Diffstat (limited to 'pack-objects.h')
-rw-r--r--pack-objects.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/pack-objects.h b/pack-objects.h
index b9898a4e64..3f6f504203 100644
--- a/pack-objects.h
+++ b/pack-objects.h
@@ -7,7 +7,8 @@
struct repository;
-#define DEFAULT_DELTA_CACHE_SIZE (256 * 1024 * 1024)
+#define DEFAULT_DELTA_CACHE_SIZE (256 * 1024 * 1024)
+#define DEFAULT_DELTA_BASE_CACHE_LIMIT (96 * 1024 * 1024)
#define OE_DFS_STATE_BITS 2
#define OE_DEPTH_BITS 12