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>
Dan McGee committed
Apr 9, 2009 at 10:45 UTC
b6c29915d2efd0d2cb56eca88bd8e6b4999546dc
1 file changed
+1
-1
builtin-pack-objects.c
+1
-1
@@ -1612,7 +1612,7 @@ static void ll_find_deltas(struct object_entry **list, unsigned list_size,
1612
return;
1613
}
1614
if (progress > pack_to_stdout)
1615
- fprintf(stderr, "Delta compression using %d threads.\n",
1615
+ fprintf(stderr, "Delta compression using up to %d threads.\n",
1616
delta_search_threads);
1617
1618
/* Partition the work amongst work threads. */