Skip to content

Commit b6c2991

Browse files
toofishesgitster
authored andcommitted
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>
1 parent 88ec205 commit b6c2991

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

builtin-pack-objects.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1612,7 +1612,7 @@ static void ll_find_deltas(struct object_entry **list, unsigned list_size,
16121612
return;
16131613
}
16141614
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",
16161616
delta_search_threads);
16171617

16181618
/* Partition the work amongst work threads. */

0 commit comments

Comments
 (0)