Skip to content

Commit

Permalink
Handle submodules correctly
Browse files Browse the repository at this point in the history
Forgot a flag
  • Loading branch information
savq committed Aug 14, 2021
1 parent 9cd6299 commit f178e54
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/paq.lua
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ end

local function install(pkg)
if pkg.exists then return update_count("install", "nop", nil, num_pkgs) end
local args = {"clone", pkg.url, "--depth=1", "--shallow-submodules"}
local args = {"clone", pkg.url, "--depth=1", "--recurse-submodules", "--shallow-submodules"}
if pkg.branch then vim.list_extend(args, {"-b", pkg.branch}) end
vim.list_extend(args, {pkg.dir})
local post_install = function(ok)
Expand Down

0 comments on commit f178e54

Please sign in to comment.