diff options
Diffstat (limited to 'xmake/modules/devel/git/pull.lua')
| -rw-r--r-- | xmake/modules/devel/git/pull.lua | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/xmake/modules/devel/git/pull.lua b/xmake/modules/devel/git/pull.lua index 3e0b67b30..4c274a70b 100644 --- a/xmake/modules/devel/git/pull.lua +++ b/xmake/modules/devel/git/pull.lua @@ -37,6 +37,9 @@ import("lib.detect.find_tool") -- function main(opt) + -- init options + opt = opt or {} + -- find git local git = find_tool("git") if not git then |
