summaryrefslogtreecommitdiff
path: root/xmake/modules/devel/git/submodule/update.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2021-10-21 00:28:23 +0800
committerruki <[email protected]>2021-10-20 20:50:57 +0800
commit1c861cdfb827f8a5f2fe4db414bbe200dea82009 (patch)
tree7453d356efc6b9c1d13a4f864d065b49ad3d1e93 /xmake/modules/devel/git/submodule/update.lua
parent96a18c9c00393addb18e584cc6be441d0f0d8731 (diff)
fix submodule
Diffstat (limited to 'xmake/modules/devel/git/submodule/update.lua')
-rw-r--r--xmake/modules/devel/git/submodule/update.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/modules/devel/git/submodule/update.lua b/xmake/modules/devel/git/submodule/update.lua
index 881663706..511684c1c 100644
--- a/xmake/modules/devel/git/submodule/update.lua
+++ b/xmake/modules/devel/git/submodule/update.lua
@@ -77,7 +77,7 @@ function main(opt)
if longpaths_old and longpaths_old:find("false") then
os.vrunv(git.program, {"config", "--global", "core.longpaths", "false"}, {curdir = opt.repodir})
else
- os.vrunv(git.program, {"config", "--global", "--unset", "core.longpaths", {curdir = opt.repodir}})
+ os.vrunv(git.program, {"config", "--global", "--unset", "core.longpaths"}, {curdir = opt.repodir})
end
end
end