We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
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 ...
The text was updated successfully, but these errors were encountered:
Update sparse_clone.sh to support git submodules
192e0ef
check issue jdoiro3#165
No branches or pull requests
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
...
The text was updated successfully, but these errors were encountered: