Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrandon Casey <casey@nrlssc.navy.mil>2008-02-23 05:12:58 +0300
committerJunio C Hamano <gitster@pobox.com>2008-02-23 23:00:32 +0300
commit6c723f5e6bc579e06a904874f1ceeb8ff2b5a17c (patch)
treeef4f150fed14ed1823d21192362affe3ad1075eb /builtin-pack-objects.c
parent833e3df17188e48b2d31db0966a4051dad5e03b9 (diff)
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>
Diffstat (limited to 'builtin-pack-objects.c')
-rw-r--r--builtin-pack-objects.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/builtin-pack-objects.c b/builtin-pack-objects.c
index 586ae11975..5a22f49ead 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();