summaryrefslogtreecommitdiff
path: root/xmake/modules/devel/git/pull.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2019-06-27 00:38:18 +0800
committerruki <[email protected]>2019-06-26 21:51:08 +0800
commit78aff8d5199448d604c8e9456063f9550d00c6b6 (patch)
tree3d0c6a08ae93caf1c0cb6bf6fd9e4001f6800de6 /xmake/modules/devel/git/pull.lua
parent6b6fdf451392f5519ff8b8c99bb5df0692c18b36 (diff)
fix xmake update
Diffstat (limited to 'xmake/modules/devel/git/pull.lua')
-rw-r--r--xmake/modules/devel/git/pull.lua3
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