git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[PATCH] Force t5302 to use a single thread

From
Johannes Schindelin <johannes.schindelin@gmx.de>
Date
Dec 15, 2008, 19:44 UTC
Message-ID
<alpine.DEB.1.00.0812152044030.30769@pacific.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
Message 1 of 1 in “Force t5302 to use a single thread”
  1. Force t5302 to use a single threadJohannes Schindelin, Dec 15, 2008

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.