mkdocs-multirepo-plugin icon indicating copy to clipboard operation
mkdocs-multirepo-plugin copied to clipboard

submodules in repo are not cloned!

Open 7atech opened this issue 11 months ago • 0 comments
trafficstars

if i import an repo and if the repo has a git submodule , the submodule is not cloned.

the fix is as below

file: sparse_clone.sh

change:

... git clone --branch "$branch" --depth 1 --filter=blob:none --sparse $url_to_use "$name" || exit 1 cd "$name" git submodule init git submodule update git sparse-checkout set --no-cone ${dirs[*]} rm -rf .git ...

7atech avatar Dec 05 '24 17:12 7atech