# [PATCH] Force t5302 to use a single thread

1 messages from 2008-12-15 to 2008-12-15. Participants: Johannes Schindelin.
Thread: https://gitlist.dev/t/16742

## Johannes Schindelin, 2008-12-15 19:44

Subject: [PATCH] Force t5302 to use a single thread
Message-ID: <alpine.DEB.1.00.0812152044030.30769@pacific.mpi-cbg.de>
URL: https://gitlist.dev/e/alpine.DEB.1.00.0812152044030.30769%40pacific.mpi-cbg.de

```

If the packs are made using multiple threads, they are no longer identical
on the 4-core Xeon I tested on.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
---

	... or did I do something wrong?

 t/t5302-pack-index.sh |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/t/t5302-pack-index.sh b/t/t5302-pack-index.sh
index 884e242..e6f70d4 100755
--- a/t/t5302-pack-index.sh
+++ b/t/t5302-pack-index.sh
@@ -10,6 +10,7 @@ test_expect_success \
     'setup' \
     'rm -rf .git
      git init &&
+     git config pack.threads 1 &&
      i=1 &&
      while test $i -le 100
      do
-- 
1.6.0.4.1189.g8876f

```
