summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorruki <[email protected]>2024-08-27 00:29:23 +0800
committerruki <[email protected]>2024-08-27 00:29:23 +0800
commit5aeee42d72b7c2289a0179821db04c36751fc38e (patch)
tree7539dc14bf88551b7e1aad37022ab9768994112b /scripts
parente24fa86dbca00fdab06fd7c69ea201f280cfd4e9 (diff)
disable treeless for git #5507
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/get.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/get.sh b/scripts/get.sh
index a2efbacf2..4b9c80156 100755
--- a/scripts/get.sh
+++ b/scripts/get.sh
@@ -208,7 +208,7 @@ else
git checkout -qf "$2"
cd - || raise 'chdir failed!'
else
- git clone --filter=tree:0 -b "$branch" "$gitrepo" --recurse-submodules $projectdir || raise "clone failed, check your network or branch name"
+ git clone --depth=1 -b "$branch" "$gitrepo" --recurse-submodules $projectdir || raise "clone failed, check your network or branch name"
fi
fi