From: Dan McGee Date: Thu, 9 Apr 2009 15:45:39 +0000 (-0500) Subject: Update delta compression message to be less misleading X-Git-Tag: v1.6.3-rc0~13 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=b6c29915d2efd0d2cb56eca88bd8e6b4999546dc;p=git.git 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 Acked-by: Nicolas Pitre Signed-off-by: Junio C Hamano --- diff --git a/builtin-pack-objects.c b/builtin-pack-objects.c index 9fc3b3554..99181fd7e 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. */