On the current master branch, 95ec6b1b33 ("RelNotes: the eighth batch", 2017-12-06) , the test suite fails a few tests when GIT_TEST_SPLIT_INDEX is set: Test Summary Report ------------------- t3007-ls-files-recurse-submodules.sh (Wstat: 256 Tests: 21 Failed: 13) Failed tests: 2-14 Non-zero exit status: 1 t7009-filter-branch-null-sha1.sh (Wstat: 256 Tests: 6 Failed: 1) Failed test: 4 Non-zero exit status: 1 t5304-prune.sh (Wstat: 256 Tests: 25 Failed: 3) Failed tests: 23-25 Non-zero exit status: 1 t7814-grep-recurse-submodules.sh (Wstat: 256 Tests: 22 Failed: 13) Failed tests: 2-3, 5-10, 12-15, 22 Non-zero exit status: 1 This series fixes these and makes travis run the test suite with GIT_TEST_SPLIT_INDEX to avoid similar breakages in the future. Thomas Gummerer (3): repository: fix repo_read_index with submodules prune: fix pruning with multiple worktrees and split index travis: run tests with GIT_TEST_SPLIT_INDEX .travis.yml | 2 +- cache.h | 1 + read-cache.c | 19 +++++++++++++++++-- repository.c | 13 ++++++++++++- repository.h | 2 ++ revision.c | 13 ++++++++----- 6 files changed, 41 insertions(+), 9 deletions(-) -- 2.15.1.504.g5279b80103