From 6c723f5e6bc579e06a904874f1ceeb8ff2b5a17c Mon Sep 17 00:00:00 2001 From: Brandon Casey Date: Fri, 22 Feb 2008 20:12:58 -0600 Subject: [PATCH] pack-objects: Print a message describing the number of threads for packing Signed-off-by: Brandon Casey Signed-off-by: Junio C Hamano --- builtin-pack-objects.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/builtin-pack-objects.c b/builtin-pack-objects.c index 586ae1197..5a22f49ea 100644 --- a/builtin-pack-objects.c +++ b/builtin-pack-objects.c @@ -2239,6 +2239,9 @@ int cmd_pack_objects(int argc, const char **argv, const char *prefix) #ifdef THREADED_DELTA_SEARCH if (!delta_search_threads) /* --threads=0 means autodetect */ delta_search_threads = online_cpus(); + if (progress) + fprintf(stderr, "Using %d pack threads.\n", + delta_search_threads); #endif prepare_packed_git(); -- 2.26.2