OSDN Git Service
(root)
/
git-core
/
git.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
833e3df
)
pack-objects: Print a message describing the number of threads for packing
author
Brandon Casey
<casey@nrlssc.navy.mil>
Sat, 23 Feb 2008 02:12:58 +0000
(20:12 -0600)
committer
Junio C Hamano
<gitster@pobox.com>
Sat, 23 Feb 2008 20:00:32 +0000
(12:00 -0800)
Signed-off-by: Brandon Casey <casey@nrlssc.navy.mil>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin-pack-objects.c
patch
|
blob
|
history
diff --git
a/builtin-pack-objects.c
b/builtin-pack-objects.c
index
586ae11
..
5a22f49
100644
(file)
--- 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();