]> git.ipfire.org Git - thirdparty/git.git/commit
t/lib-submodule-update.sh: allow local submodules
authorTaylor Blau <me@ttaylorr.com>
Fri, 29 Jul 2022 19:13:58 +0000 (15:13 -0400)
committerTaylor Blau <me@ttaylorr.com>
Sat, 1 Oct 2022 04:23:38 +0000 (00:23 -0400)
commit7de0c306f7b758d3fb537c18c2751f6250cea7a0
tree40bc9c8da0fa7f38b76370d2a5e0154b3433153f
parent6f054f9fb3a501c35b55c65e547a244f14c38d56
t/lib-submodule-update.sh: allow local submodules

To prepare for changing the default value of `protocol.file.allow` to
"user", update the `prolog()` function in lib-submodule-update to allow
submodules to be cloned over the file protocol.

This is used by a handful of submodule-related test scripts, which
themselves will have to tweak the value of `protocol.file.allow` in
certain locations. Those will be done in subsequent commits.

Signed-off-by: Taylor Blau <me@ttaylorr.com>
t/lib-submodule-update.sh