Thread (22 messages) flat view 22 messages, 2 authors, 2021-08-31
STALE1810d

Revision v1 of 2 in this series.

Revisions (2)
  1. v1 current
  2. v2 [diff vs current]

[PATCH 0/6] Fix GIT_TEST_SPLIT_INDEX

From: SZEDER Gábor <hidden>
Date: 2021-08-17 17:49:53

Running tests with GIT_TEST_SPLIT_INDEX=1 is supposed to turn on the
split index feature and trigger index splitting (mostly) randomly.
Alas, this has been broken for ~2.5 years, and it hasn't triggered any
index splitting since then.

The last patch in this series makes GIT_TEST_SPLIT_INDEX=1 work again,
although it slightly changes its behavior; see its log message for all
the details.

Patches 3 and 4 fix old tests that started to fail because
of this slight behavior change.  Bsides the final fix, patch 4 is the
most interesting in this series.

Patch 5 fixes new tests that were introduced while
GIT_TEST_SPLIT_INDEX was broken.

The first two patches are just minor while-at-it test cleanups.

SZEDER Gábor (6):
  t1600-index: remove unnecessary redirection
  t1600-index: don't run git commands upstream of a pipe
  t1600-index: disable GIT_TEST_SPLIT_INDEX
  read-cache: look for shared index files next to the index, too
  tests: disable GIT_TEST_SPLIT_INDEX for sparse index tests
  read-cache: fix GIT_TEST_SPLIT_INDEX

 read-cache.c                       | 37 ++++++++++++++++------
 t/t1091-sparse-checkout-builtin.sh | 25 +++++++++------
 t/t1600-index.sh                   | 13 +++++---
 t/t1700-split-index.sh             | 34 ++++++++++++++++++++
 t/t7519-status-fsmonitor.sh        | 51 ++++++++++++++++--------------
 5 files changed, 113 insertions(+), 47 deletions(-)

-- 
2.33.0.453.gc5e41af357
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help