Open
Description
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
...
Metadata
Metadata
Assignees
Labels
No labels
Activity