config.txt: pack.windowmemory limit applies per-thread
authorRobert de Bath <rdebath@tvisiontech.co.uk>
Fri, 24 Oct 2014 07:43:27 +0000 (08:43 +0100)
committerJunio C Hamano <gitster@pobox.com>
Tue, 28 Oct 2014 16:59:41 +0000 (09:59 -0700)
It took me a long time to notice the rider on the pack.threads
configuration option that it would multiple the memory consumption
by the number of CPUs in the machine. Clarify that the limit
applies per-thread.

Signed-off-by: Robert de Bath <rdebath@tvisiontech.co.uk>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/config.txt
index c55c22ab7be94e798164a48622aca21dd4daa44f..99b5c6928b4409a9417adf696ae998b1eb03c602 100644 (file)
@@ -1827,10 +1827,11 @@ pack.depth::
        maximum depth is given on the command line. Defaults to 50.
 
 pack.windowMemory::
-       The window memory size limit used by linkgit:git-pack-objects[1]
-       when no limit is given on the command line.  The value can be
-       suffixed with "k", "m", or "g".  Defaults to 0, meaning no
-       limit.
+       The maximum size of memory that is consumed by each thread
+       in linkgit:git-pack-objects[1] for pack window memory when
+       no limit is given on the command line.  The value can be
+       suffixed with "k", "m", or "g".  When left unconfigured (or
+       set explicitly to 0), there will be no limit.
 
 pack.compression::
        An integer -1..9, indicating the compression level for objects