@matheusbsbs / matheus-bagliano / commits / 009be0d26d
Fork 0

Documentation: deltaBaseCacheLimit is per-thread

Clarify that core.deltaBaseCacheLimit is per-thread, as can be seen from the fact that cache usage (base_cache_used in struct thread_local in builtin/index-pack.c) is tracked individually for each thread and compared against delta_base_cache_limit. Signed-off-by: Jonathan Tan <jonathantanmy@google.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>

Jonathan Tan committed Aug 24, 2020 at 12:16 UTC 009be0d26d579c61dd7c7819e77173676c3ce007
1 file changed +1 -1
Documentation/config/core.txt
+1 -1
@@ -399,7 +399,7 @@ the largest projects. You probably do not need to adjust this value.
399 Common unit suffixes of 'k', 'm', or 'g' are supported.
400
401 core.deltaBaseCacheLimit::
402 - Maximum number of bytes to reserve for caching base objects
402 + Maximum number of bytes per thread to reserve for caching base objects
403 that may be referenced by multiple deltified objects. By storing the
404 entire decompressed base objects in a cache Git is able
405 to avoid unpacking and decompressing frequently used base