Skip to content

Commit 009be0d

Browse files
jonathantanmygitster
authored andcommitted
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 <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 675a4aa commit 009be0d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Documentation/config/core.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -399,7 +399,7 @@ the largest projects. You probably do not need to adjust this value.
399399
Common unit suffixes of 'k', 'm', or 'g' are supported.
400400

401401
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
403403
that may be referenced by multiple deltified objects. By storing the
404404
entire decompressed base objects in a cache Git is able
405405
to avoid unpacking and decompressing frequently used base

0 commit comments

Comments
 (0)