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>
This commit is contained in:
parent
833e3df171
commit
6c723f5e6b
@ -2239,6 +2239,9 @@ int cmd_pack_objects(int argc, const char **argv, const char *prefix)
|
|||||||
#ifdef THREADED_DELTA_SEARCH
|
#ifdef THREADED_DELTA_SEARCH
|
||||||
if (!delta_search_threads) /* --threads=0 means autodetect */
|
if (!delta_search_threads) /* --threads=0 means autodetect */
|
||||||
delta_search_threads = online_cpus();
|
delta_search_threads = online_cpus();
|
||||||
|
if (progress)
|
||||||
|
fprintf(stderr, "Using %d pack threads.\n",
|
||||||
|
delta_search_threads);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
prepare_packed_git();
|
prepare_packed_git();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user