Code

Update delta compression message to be less misleading
authorDan McGee <dpmcgee@gmail.com>
Thu, 9 Apr 2009 15:45:39 +0000 (10:45 -0500)
committerJunio C Hamano <gitster@pobox.com>
Sun, 12 Apr 2009 05:21:59 +0000 (22:21 -0700)
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>
builtin-pack-objects.c

index 9fc3b355470466bd5663e1fca1fe759e18869ee2..99181fd7ee863fd7e1932a5d570defb57e1d1d93 100644 (file)
@@ -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. */