]> git.ipfire.org Git - thirdparty/git.git/commit - t/t7814-grep-recurse-submodules.sh
t7814: show lack of alternate ODB-adding
authorJonathan Tan <jonathantanmy@google.com>
Mon, 16 Aug 2021 21:09:58 +0000 (14:09 -0700)
committerJunio C Hamano <gitster@pobox.com>
Wed, 8 Sep 2021 18:48:13 +0000 (11:48 -0700)
commit18a2f66d8a5514fec214613a75e6a238532d2664
treeffec2f9de0b4b7613614bd9896f56250fadb4205
parente3e8bf046e9682b0d67c07c6bc83ec9717d9c941
t7814: show lack of alternate ODB-adding

The previous patches have made "git grep" no longer need to add
submodule ODBs as alternates, at least for the code paths tested in
t7814. Demonstrate this by making adding a submodule ODB as an alternate
fatal in this test.

Signed-off-by: Jonathan Tan <jonathantanmy@google.com>
Reviewed-by: Emily Shaffer <emilyshaffer@google.com>
Reviewed-by: Matheus Tavares <matheus.bernardino@usp.br>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t7814-grep-recurse-submodules.sh