summaryrefslogtreecommitdiff
path: root/xmake/modules/private/utils/statistics.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2024-08-27 00:29:23 +0800
committerruki <[email protected]>2024-08-27 00:29:23 +0800
commit5aeee42d72b7c2289a0179821db04c36751fc38e (patch)
tree7539dc14bf88551b7e1aad37022ab9768994112b /xmake/modules/private/utils/statistics.lua
parente24fa86dbca00fdab06fd7c69ea201f280cfd4e9 (diff)
disable treeless for git #5507
Diffstat (limited to 'xmake/modules/private/utils/statistics.lua')
-rw-r--r--xmake/modules/private/utils/statistics.lua2
1 files changed, 1 insertions, 1 deletions
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
}