From fac3a78c19a93b6c27bb075cd222cdcb208c4ab5 Mon Sep 17 00:00:00 2001 From: Opportunity Date: Mon, 20 Jan 2020 22:52:42 +0800 Subject: revert shallow-submodules --- scripts/get.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts') 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 -- cgit v1.3.1