Open Downsite opened 8 months ago
We don't use git
for cloning but libgit2, which as far as I understand doesn't allow managing submodules.
A (diry?) workaround is to use git remote set-url origin
in the build script.
We don't use git for cloning but libgit2, which as far as I understand doesn't allow managing submodules.
To be clearer, I think it's the julia's LibGit2.jl standard library which doesn't expose the submodules management, which is present in libgit2
Because of caching, if one tries to clone a repository that makes use of relative paths in .gitmodules,
git submodule update
will fail. That is because the repository url is changed automatically.An option to allow to add flags to git clone would help here.