summaryrefslogtreecommitdiff
path: root/Documentation/git-repack.txt
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2017-04-26 23:09:25 (GMT)
committerJunio C Hamano <gitster@pobox.com>2017-04-26 23:09:25 (GMT)
commit40bcf3188a6f02acba94587593124ccca5a37e2b (patch)
tree7234821753423b95824ad959fbc59b55b77d8944 /Documentation/git-repack.txt
parent49800c940790cc7465d1b03e08d472ffd8684808 (diff)
downloadgit-40bcf3188a6f02acba94587593124ccca5a37e2b.zip
git-40bcf3188a6f02acba94587593124ccca5a37e2b.tar.gz
git-40bcf3188a6f02acba94587593124ccca5a37e2b.tar.bz2
repack: accept --threads=<n> and pass it down to pack-objects
We already do so for --window=<n> and --depth=<n>; this will help when the user wants to force --threads=1 for reproducible testing without getting affected by racing multiple threads. Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/git-repack.txt')
-rw-r--r--Documentation/git-repack.txt5
1 files changed, 4 insertions, 1 deletions
diff --git a/Documentation/git-repack.txt b/Documentation/git-repack.txt
index 26afe6e..ae750e9 100644
--- a/Documentation/git-repack.txt
+++ b/Documentation/git-repack.txt
@@ -9,7 +9,7 @@ git-repack - Pack unpacked objects in a repository
SYNOPSIS
--------
[verse]
-'git repack' [-a] [-A] [-d] [-f] [-F] [-l] [-n] [-q] [-b] [--window=<n>] [--depth=<n>]
+'git repack' [-a] [-A] [-d] [-f] [-F] [-l] [-n] [-q] [-b] [--window=<n>] [--depth=<n>] [--threads=<n>]
DESCRIPTION
-----------
@@ -92,6 +92,9 @@ other objects in that pack they already have locally.
to be applied that many times to get to the necessary object.
The default value for --window is 10 and --depth is 50.
+--threads=<n>::
+ This option is passed through to `git pack-objects`.
+
--window-memory=<n>::
This option provides an additional limit on top of `--window`;
the window size will dynamically scale down so as to not take