diff options
| author | ruki <[email protected]> | 2024-08-27 00:29:23 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2024-08-27 00:29:23 +0800 |
| commit | 5aeee42d72b7c2289a0179821db04c36751fc38e (patch) | |
| tree | 7539dc14bf88551b7e1aad37022ab9768994112b /scripts | |
| parent | e24fa86dbca00fdab06fd7c69ea201f280cfd4e9 (diff) | |
disable treeless for git #5507
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 |
