summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorOpportunity <[email protected]>2020-01-20 22:52:42 +0800
committerOpportunity <[email protected]>2020-01-20 22:52:42 +0800
commitfac3a78c19a93b6c27bb075cd222cdcb208c4ab5 (patch)
treeece4182a8314af5a033e3187c8826392e2da8e39 /scripts
parenta19f3f194a4d581eb27ea9267b7f6b495345b33c (diff)
revert shallow-submodules
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 fce123a23..5046d9e0f 100755
--- a/scripts/get.sh
+++ b/scripts/get.sh
@@ -121,7 +121,7 @@ if [ 'x__local__' != "x$branch" ]; then
git checkout -qf "$2"
cd - || my_exit 'Chdir Error'
else
- git clone --depth=1 -b "$branch" "https://github.com/$mirror/xmake.git" --recurse-submodules --shallow-submodules $projectdir || my_exit "$(echo -e 'Clone Fail\nCheck your network or branch name')"
+ git clone --depth=1 -b "$branch" "https://github.com/$mirror/xmake.git" --recurse-submodules $projectdir || my_exit "$(echo -e 'Clone Fail\nCheck your network or branch name')"
fi
else
if [ -d '.git' ]; then