submodule: trace adding submodule ODB as alternate
commit71ef66d7403c05a6fe8ec118431332a8919b52a2
authorJonathan Tan <jonathantanmy@google.com>
Fri, 8 Oct 2021 21:08:20 +0000 (8 14:08 -0700)
committerJunio C Hamano <gitster@pobox.com>
Fri, 8 Oct 2021 22:06:06 +0000 (8 15:06 -0700)
treece9bc2e1e881541051720704e347b3ec26a6db2a
parent13a2f620b27c0fa29de026de5d74a2434c565ece
submodule: trace adding submodule ODB as alternate

Submodule ODBs are never added as alternates during the execution of the
test suite, but there may be a rare interaction that the test suite does
not have coverage of. Add a trace message when this happens, so that
users who trace their commands can notice such occurrences.

Signed-off-by: Jonathan Tan <jonathantanmy@google.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
submodule.c
t/README