]> git.ipfire.org Git - thirdparty/git.git/commitdiff
Documentation: deltaBaseCacheLimit is per-thread
authorJonathan Tan <jonathantanmy@google.com>
Mon, 24 Aug 2020 19:16:31 +0000 (12:16 -0700)
committerJunio C Hamano <gitster@pobox.com>
Mon, 24 Aug 2020 20:55:06 +0000 (13:55 -0700)
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>
Documentation/config/core.txt

index 74619a9c03bb17d0f6c007fc3f9b8c052b957c65..02002cf109e90ecfaf80aba698f235111bd4e05e 100644 (file)
@@ -399,7 +399,7 @@ the largest projects.  You probably do not need to adjust this value.
 Common unit suffixes of 'k', 'm', or 'g' are supported.
 
 core.deltaBaseCacheLimit::
-       Maximum number of bytes to reserve for caching base objects
+       Maximum number of bytes per thread to reserve for caching base objects
        that may be referenced by multiple deltified objects.  By storing the
        entire decompressed base objects in a cache Git is able
        to avoid unpacking and decompressing frequently used base