Skip to content

Commit

Permalink
pack-objects: Print a message describing the number of threads for pa…
Browse files Browse the repository at this point in the history
…cking

Signed-off-by: Brandon Casey <casey@nrlssc.navy.mil>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
  • Loading branch information
Brandon Casey authored and Junio C Hamano committed Feb 23, 2008
1 parent 833e3df commit 6c723f5
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions builtin-pack-objects.c
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit 6c723f5

Please sign in to comment.