Skip to content

Commit

Permalink
Update delta compression message to be less misleading
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Dan McGee authored and Junio C Hamano committed Apr 12, 2009
1 parent 88ec205 commit b6c2991
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion builtin-pack-objects.c
Original file line number Diff line number Diff line change
Expand Up @@ -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. */
Expand Down

0 comments on commit b6c2991

Please sign in to comment.