summaryrefslogtreecommitdiff
path: root/xmake/modules/private/utils/statistics.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2024-08-26 23:57:50 +0800
committerruki <[email protected]>2024-08-26 23:57:50 +0800
commit818b23b778edb642bf15e18ab4b52eb1a07fb329 (patch)
treee324cdaa807eea75ee1214d941232a285aa4edd5 /xmake/modules/private/utils/statistics.lua
parentc80898e12f88abe7df463bc64e0fb6bf081b8cdf (diff)
use treeless instead of depth1
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 6ebe20c13..8273d7af2 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", {depth = 1, branch = "master", outputdir = outputdir})
+ clone("https://github.com/xmake-io/xmake-stats.git", {treeless = true, branch = "master", outputdir = outputdir})
print("post to traffic ok!")
end
}