diff options
| author | ruki <[email protected]> | 2021-03-10 00:34:52 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2021-03-10 00:34:52 +0800 |
| commit | aeda97353dd23f22b7d7cda78eb3d10470177d55 (patch) | |
| tree | 7b788fc63caa00c0ee62a0c435b4cfadc27c4e78 /xmake/modules/devel/git/submodule/update.lua | |
| parent | 8b1b39ce7a9f342699c73aaede4b627ae151c31a (diff) | |
fix git checkout for requires
Diffstat (limited to 'xmake/modules/devel/git/submodule/update.lua')
| -rw-r--r-- | xmake/modules/devel/git/submodule/update.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/xmake/modules/devel/git/submodule/update.lua b/xmake/modules/devel/git/submodule/update.lua index 6256c673f..b75e391ca 100644 --- a/xmake/modules/devel/git/submodule/update.lua +++ b/xmake/modules/devel/git/submodule/update.lua @@ -30,8 +30,8 @@ import("lib.detect.find_tool") -- -- import("devel.git.submodule") -- --- submodule.update("master", {repodir = "/tmp/xmake", init = true, remote = true}) --- submodule.update("v1.0.1", {repodir = "/tmp/xmake", recursive = true, reference = "xxx", paths = "xxx"}) +-- submodule.update({repodir = "/tmp/xmake", init = true, remote = true}) +-- submodule.update({repodir = "/tmp/xmake", recursive = true, reference = "xxx", paths = "xxx"}) -- -- @endcode -- |
