summaryrefslogtreecommitdiff
path: root/Documentation/git-pack-objects.txt
diff options
context:
space:
mode:
authorNicolas Pitre <nico@cam.org>2007-09-10 04:06:11 (GMT)
committerJunio C Hamano <gitster@pobox.com>2007-09-10 05:26:06 (GMT)
commit367f4a4343d467ac76641362b102bc86da5cb584 (patch)
tree9a9bf81d459b619366dee8e72ffc989320946ead /Documentation/git-pack-objects.txt
parent59921b4b3f24b19e2593085ee27d5e1f2448c6bb (diff)
downloadgit-367f4a4343d467ac76641362b102bc86da5cb584.zip
git-367f4a4343d467ac76641362b102bc86da5cb584.tar.gz
git-367f4a4343d467ac76641362b102bc86da5cb584.tar.bz2
threaded delta search: specify number of threads at run time
This adds a --threads=<n> parameter to 'git pack-objects' with documentation. Signed-off-by: Nicolas Pitre <nico@cam.org> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/git-pack-objects.txt')
-rw-r--r--Documentation/git-pack-objects.txt8
1 files changed, 8 insertions, 0 deletions
diff --git a/Documentation/git-pack-objects.txt b/Documentation/git-pack-objects.txt
index 6f17cff..f9b9795 100644
--- a/Documentation/git-pack-objects.txt
+++ b/Documentation/git-pack-objects.txt
@@ -173,6 +173,14 @@ base-name::
length, this option typically shrinks the resulting
packfile by 3-5 per-cent.
+--threads=<n>::
+ Specifies the number of threads to spawn when searching for best
+ delta matches. This requires that pack-objects be compiled with
+ pthreads otherwise this option is ignored with a warning.
+ This is meant to reduce packing time on multiprocessor machines.
+ The required amount of memory for the delta search window is
+ however multiplied by the number of threads.
+
--index-version=<version>[,<offset>]::
This is intended to be used by the test suite only. It allows
to force the version for the generated pack index, and to force