summaryrefslogtreecommitdiff
path: root/Documentation/git-repack.txt
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2016-08-12 16:47:35 (GMT)
committerJunio C Hamano <gitster@pobox.com>2016-08-12 16:47:35 (GMT)
commit62134efdba558180df997299df565e08e662f4c7 (patch)
tree802d06e2b518a7fa53d11a08e4f35f6e2a1d87c8 /Documentation/git-repack.txt
parent7d4d742c2347ee11f17f054ffd8d3e3664739e77 (diff)
parent954176c1288d70818fb03c6e04a8cbfb0db4e704 (diff)
downloadgit-62134efdba558180df997299df565e08e662f4c7.zip
git-62134efdba558180df997299df565e08e662f4c7.tar.gz
git-62134efdba558180df997299df565e08e662f4c7.tar.bz2
Merge branch 'ms/document-pack-window-memory-is-per-thread'
* ms/document-pack-window-memory-is-per-thread: document git-repack interaction of pack.threads and pack.windowMemory
Diffstat (limited to 'Documentation/git-repack.txt')
-rw-r--r--Documentation/git-repack.txt6
1 files changed, 4 insertions, 2 deletions
diff --git a/Documentation/git-repack.txt b/Documentation/git-repack.txt
index c597523..26afe6e 100644
--- a/Documentation/git-repack.txt
+++ b/Documentation/git-repack.txt
@@ -100,8 +100,10 @@ other objects in that pack they already have locally.
out of memory with a large window, but still be able to take
advantage of the large window for the smaller objects. The
size can be suffixed with "k", "m", or "g".
- `--window-memory=0` makes memory usage unlimited, which is the
- default.
+ `--window-memory=0` makes memory usage unlimited. The default
+ is taken from the `pack.windowMemory` configuration variable.
+ Note that the actual memory usage will be the limit multiplied
+ by the number of threads used by linkgit:git-pack-objects[1].
--max-pack-size=<n>::
Maximum size of each output pack file. The size can be suffixed with