@matheusbsbs / matheus-bagliano / commits / 6c723f5e6b
Fork 0

pack-objects: Print a message describing the number of threads for packing

Signed-off-by: Brandon Casey <casey@nrlssc.navy.mil> Signed-off-by: Junio C Hamano <gitster@pobox.com>

Brandon Casey committed Feb 22, 2008 at 20:12 UTC 6c723f5e6bc579e06a904874f1ceeb8ff2b5a17c
1 file changed +3
builtin-pack-objects.c
+3
@@ -2239,6 +2239,9 @@ int cmd_pack_objects(int argc, const char **argv, const char *prefix)
2239 #ifdef THREADED_DELTA_SEARCH
2240 if (!delta_search_threads) /* --threads=0 means autodetect */
2241 delta_search_threads = online_cpus();
2242 + if (progress)
2243 + fprintf(stderr, "Using %d pack threads.\n",
2244 + delta_search_threads);
2245 #endif
2246
2247 prepare_packed_git();