Anonymous committed b6c2991

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 <>

  • Participants
  • Parent commits 88ec205

Comments (0)

Files changed (1)

File builtin-pack-objects.c

 	if (progress > pack_to_stdout)
-		fprintf(stderr, "Delta compression using %d threads.\n",
+		fprintf(stderr, "Delta compression using up to %d threads.\n",
 	/* Partition the work amongst work threads. */