We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7003c61 commit af3ce4aCopy full SHA for af3ce4a
scripts/get.sh
@@ -203,7 +203,7 @@ elif test_eq "$branch" "__run__"; then
203
else
204
echo "cloning $gitrepo $branch .."
205
if test_nz "$2"; then
206
- git clone --depth=50 -b "$branch" "$gitrepo" --recurse-submodules $projectdir || raise "clone failed, check your network or branch name"
+ git clone --filter=tree:0 --no-checkout -b "$branch" "$gitrepo" --recurse-submodules $projectdir || raise "clone failed, check your network or branch name"
207
cd $projectdir || raise 'chdir failed!'
208
git checkout -qf "$2"
209
cd - || raise 'chdir failed!'
0 commit comments