diff options
| -rw-r--r-- | xmake/actions/update/main.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/actions/update/main.lua b/xmake/actions/update/main.lua index f97df2291..651047e6e 100644 --- a/xmake/actions/update/main.lua +++ b/xmake/actions/update/main.lua @@ -484,7 +484,7 @@ function main() http.download(url, installerfile) end else - git.clone(url, {depth = 1, recurse_submodules = not script_only, branch = version, outputdir = sourcedir}) + git.clone(url, {depth = 1, shallow_submodules = true, recurse_submodules = not script_only, branch = version, outputdir = sourcedir}) end return true end, |
