]> git.ipfire.org Git - thirdparty/git.git/blobdiff - sparse-index.c
Merge branch 'en/fetch-negotiation-default-fix'
[thirdparty/git.git] / sparse-index.c
index a1d505d50e98cfcc7bbe8482d74769c10e56aa04..08f54747bb49689df7396b75a57b80de37e35f51 100644 (file)
@@ -136,7 +136,7 @@ static int is_sparse_index_allowed(struct index_state *istate, int flags)
                /*
                 * The sparse index is not (yet) integrated with a split index.
                 */
-               if (istate->split_index)
+               if (istate->split_index || git_env_bool("GIT_TEST_SPLIT_INDEX", 0))
                        return 0;
                /*
                 * The GIT_TEST_SPARSE_INDEX environment variable triggers the