diff options
author | Jonathan Tan <jonathantanmy@google.com> | 2020-08-24 19:16:31 (GMT) |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2020-08-24 20:55:06 (GMT) |
commit | 009be0d26d579c61dd7c7819e77173676c3ce007 (patch) | |
tree | 9b72652d543261dabeee223c40e5d3480ef0b87c /Documentation/config | |
parent | 675a4aaf3b226c0089108221b96559e0baae5de9 (diff) | |
download | git-009be0d26d579c61dd7c7819e77173676c3ce007.zip git-009be0d26d579c61dd7c7819e77173676c3ce007.tar.gz git-009be0d26d579c61dd7c7819e77173676c3ce007.tar.bz2 |
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>
Diffstat (limited to 'Documentation/config')
-rw-r--r-- | Documentation/config/core.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Documentation/config/core.txt b/Documentation/config/core.txt index 74619a9..02002cf 100644 --- a/Documentation/config/core.txt +++ b/Documentation/config/core.txt @@ -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 |