summaryrefslogtreecommitdiff
path: root/t/README
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2021-09-20 22:20:39 (GMT)
committerJunio C Hamano <gitster@pobox.com>2021-09-20 22:20:39 (GMT)
commit11e5d0a262c9ba664b7203a279513385bf055745 (patch)
treeca86652bab65fc3ed1943acc482057e3be862188 /t/README
parent0649303820cf88fb5a6ab440af15c8d6b8799d3f (diff)
parent18a2f66d8a5514fec214613a75e6a238532d2664 (diff)
downloadgit-11e5d0a262c9ba664b7203a279513385bf055745.zip
git-11e5d0a262c9ba664b7203a279513385bf055745.tar.gz
git-11e5d0a262c9ba664b7203a279513385bf055745.tar.bz2
Merge branch 'jt/grep-wo-submodule-odb-as-alternate'
The code to make "git grep" recurse into submodules has been updated to migrate away from the "add submodule's object store as an alternate object store" mechanism (which is suboptimal). * jt/grep-wo-submodule-odb-as-alternate: t7814: show lack of alternate ODB-adding submodule-config: pass repo upon blob config read grep: add repository to OID grep sources grep: allocate subrepos on heap grep: read submodule entry with explicit repo grep: typesafe versions of grep_source_init grep: use submodule-ODB-as-alternate lazy-addition submodule: lazily add submodule ODBs as alternates
Diffstat (limited to 't/README')
-rw-r--r--t/README10
1 files changed, 10 insertions, 0 deletions
diff --git a/t/README b/t/README
index c300fa2..51065d0 100644
--- a/t/README
+++ b/t/README
@@ -452,6 +452,16 @@ GIT_TEST_CHECKOUT_WORKERS=<n> overrides the 'checkout.workers' setting
to <n> and 'checkout.thresholdForParallelism' to 0, forcing the
execution of the parallel-checkout code.
+GIT_TEST_FATAL_REGISTER_SUBMODULE_ODB=<boolean>, when true, makes
+registering submodule ODBs as alternates a fatal action. Support for
+this environment variable can be removed once the migration to
+explicitly providing repositories when accessing submodule objects is
+complete (in which case we might want to replace this with a trace2
+call so that users can make it visible if accessing submodule objects
+without an explicit repository still happens) or needs to be abandoned
+for whatever reason (in which case the migrated codepaths still retain
+their performance benefits).
+
Naming Tests
------------