From 5aeee42d72b7c2289a0179821db04c36751fc38e Mon Sep 17 00:00:00 2001 From: ruki Date: Tue, 27 Aug 2024 00:29:23 +0800 Subject: disable treeless for git #5507 --- xmake/modules/private/utils/statistics.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'xmake/modules/private/utils/statistics.lua') diff --git a/xmake/modules/private/utils/statistics.lua b/xmake/modules/private/utils/statistics.lua index 8273d7af2..6ebe20c13 100644 --- a/xmake/modules/private/utils/statistics.lua +++ b/xmake/modules/private/utils/statistics.lua @@ -121,7 +121,7 @@ function main() { function () import("devel.git.clone") - clone("https://github.com/xmake-io/xmake-stats.git", {treeless = true, branch = "master", outputdir = outputdir}) + clone("https://github.com/xmake-io/xmake-stats.git", {depth = 1, branch = "master", outputdir = outputdir}) print("post to traffic ok!") end } -- cgit v1.3.1