summaryrefslogtreecommitdiff
path: root/builtin-pack-objects.c
diff options
context:
space:
mode:
authorDan McGee <dpmcgee@gmail.com>2009-04-09 10:45:39 -0500
committerJunio C Hamano <gitster@pobox.com>2009-04-11 22:21:59 -0700
commitb6c29915d2efd0d2cb56eca88bd8e6b4999546dc (patch)
tree7a21b0c242c895dc82e81ace76f3e90ab5ea8967 /builtin-pack-objects.c
parent88ec205477e18e612ab854f20ef87aa244b8debe (diff)
downloadgit-b6c29915d2efd0d2cb56eca88bd8e6b4999546dc.tar.gz
Update delta compression message to be less misleading
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>
Diffstat (limited to 'builtin-pack-objects.c')
-rw-r--r--builtin-pack-objects.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/builtin-pack-objects.c b/builtin-pack-objects.c
index 9fc3b35547..99181fd7ee 100644
--- a/builtin-pack-objects.c
+++ b/builtin-pack-objects.c
@@ -1612,7 +1612,7 @@ static void ll_find_deltas(struct object_entry **list, unsigned list_size,
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. */