diff options
Diffstat (limited to 'scripts')
| -rwxr-xr-x | scripts/get.sh | 2 |
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 |
