aboutsummaryrefslogtreecommitdiff
path: root/builtin-pack-objects.c
diff options
context:
space:
mode:
authorBrandon Casey <casey@nrlssc.navy.mil>2008-02-22 20:12:58 -0600
committerJunio C Hamano <gitster@pobox.com>2008-02-23 12:00:32 -0800
commit6c723f5e6bc579e06a904874f1ceeb8ff2b5a17c (patch)
treeef4f150fed14ed1823d21192362affe3ad1075eb /builtin-pack-objects.c
parent833e3df17188e48b2d31db0966a4051dad5e03b9 (diff)
downloadgit-6c723f5e6bc579e06a904874f1ceeb8ff2b5a17c.tar.gz
git-6c723f5e6bc579e06a904874f1ceeb8ff2b5a17c.tar.xz
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 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();