summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 88ec205)
raw | patch | inline | side by side (parent: 88ec205)
author | Dan McGee <dpmcgee@gmail.com> | |
Thu, 9 Apr 2009 15:45:39 +0000 (10:45 -0500) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Sun, 12 Apr 2009 05:21:59 +0000 (22:21 -0700) |
In the case of a small repository, pack-objects is smart enough to not
start more threads than necessary. However, the output to the user always
reports the value of the pack.threads configuration and not the real
number of threads to be used.
Signed-off-by: Dan McGee <dpmcgee@gmail.com>
Acked-by: Nicolas Pitre <nico@cam.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
start more threads than necessary. However, the output to the user always
reports the value of the pack.threads configuration and not the real
number of threads to be used.
Signed-off-by: Dan McGee <dpmcgee@gmail.com>
Acked-by: Nicolas Pitre <nico@cam.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin-pack-objects.c | patch | blob | history |
diff --git a/builtin-pack-objects.c b/builtin-pack-objects.c
index 9fc3b355470466bd5663e1fca1fe759e18869ee2..99181fd7ee863fd7e1932a5d570defb57e1d1d93 100644 (file)
--- a/builtin-pack-objects.c
+++ b/builtin-pack-objects.c
return;
}
if (progress > pack_to_stdout)
- fprintf(stderr, "Delta compression using %d threads.\n",
+ fprintf(stderr, "Delta compression using up to %d threads.\n",
delta_search_threads);
/* Partition the work amongst work threads. */