diff options
Diffstat (limited to 'xmake/modules/devel/git/clone.lua')
| -rw-r--r-- | xmake/modules/devel/git/clone.lua | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/xmake/modules/devel/git/clone.lua b/xmake/modules/devel/git/clone.lua index cc0b8f841..eceb80714 100644 --- a/xmake/modules/devel/git/clone.lua +++ b/xmake/modules/devel/git/clone.lua @@ -93,6 +93,11 @@ function main(url, opt) table.insert(argv, "--filter=tree:0") end + -- no checkout + if opt.checkout == false then + table.insert(argv, "--no-checkout") + end + -- recursive? if opt.recursive then table.insert(argv, "--recursive") |
