summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--xmake/modules/private/action/trybuild/xrepo.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/xmake/modules/private/action/trybuild/xrepo.lua b/xmake/modules/private/action/trybuild/xrepo.lua
index 073ecd57f..ba845e72e 100644
--- a/xmake/modules/private/action/trybuild/xrepo.lua
+++ b/xmake/modules/private/action/trybuild/xrepo.lua
@@ -80,6 +80,7 @@ end
-- get common configs
function _get_common_configs(argv)
+ table.insert(argv, "-y")
table.insert(argv, "--shallow")
table.insert(argv, "-v")
if option.get("diagnosis") then