path: root/Documentation/git-pack-objects.txt
diff options
authorNicolas Pitre <>2007-09-10 04:06:11 (GMT)
committerJunio C Hamano <>2007-09-10 05:26:06 (GMT)
commit367f4a4343d467ac76641362b102bc86da5cb584 (patch)
tree9a9bf81d459b619366dee8e72ffc989320946ead /Documentation/git-pack-objects.txt
parent59921b4b3f24b19e2593085ee27d5e1f2448c6bb (diff)
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 <> Signed-off-by: Junio C Hamano <>
Diffstat (limited to 'Documentation/git-pack-objects.txt')
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.
+ 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.
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