diff options
| author | SirLynix <[email protected]> | 2024-01-24 16:04:50 +0100 |
|---|---|---|
| committer | SirLynix <[email protected]> | 2024-01-24 16:04:50 +0100 |
| commit | 4bcf9cd00e87a544856b24c722112863cd962f6c (patch) | |
| tree | e4db21ca9e6c36940f1941ceeb72a009555df989 /xmake/modules/devel/git/pull.lua | |
| parent | f442e3aced73a23de747f1303227b495478a8d4c (diff) | |
Fix git.pull
Diffstat (limited to 'xmake/modules/devel/git/pull.lua')
| -rw-r--r-- | xmake/modules/devel/git/pull.lua | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/xmake/modules/devel/git/pull.lua b/xmake/modules/devel/git/pull.lua index 63345f902..4488b7bed 100644 --- a/xmake/modules/devel/git/pull.lua +++ b/xmake/modules/devel/git/pull.lua @@ -46,10 +46,6 @@ function main(opt) -- init argv local argv = {} - if opt.force then - table.insert(argv, "-f") - end - if opt.fsmonitor then table.insert(argv, "-c") table.insert(argv, "core.fsmonitor=true") @@ -72,6 +68,10 @@ function main(opt) table.insert(argv, "--tags") end + if opt.force then + table.insert(argv, "-f") + end + -- use proxy? local envs local proxy_conf = proxy.config() |
