Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
upload-pack: support hidden refs with protocol v2
[gitweb.git]
/
t
/
perf
/
p5302-pack-index.sh
diff --git
a/t/perf/p5302-pack-index.sh
b/t/perf/p5302-pack-index.sh
index 5ee9211f988dce1f334d796623feccda85641bbe..99bdb16c8583a98b0c33cddadabb85f47b7d5c41 100755
(executable)
--- a/
t/perf/p5302-pack-index.sh
+++ b/
t/perf/p5302-pack-index.sh
@@
-13,6
+13,13
@@
test_expect_success 'repack' '
export PACK
'
+test_expect_success 'create target repositories' '
+ for repo in t1 t2 t3 t4 t5 t6
+ do
+ git init --bare $repo
+ done
+'
+
test_perf 'index-pack 0 threads' '
GIT_DIR=t1 git index-pack --threads=1 --stdin < $PACK
'