diff options
Diffstat (limited to 'utils/ci/generate_new_lockfile.lua')
-rw-r--r-- | utils/ci/generate_new_lockfile.lua | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/utils/ci/generate_new_lockfile.lua b/utils/ci/generate_new_lockfile.lua index fd10775c..8eef5184 100644 --- a/utils/ci/generate_new_lockfile.lua +++ b/utils/ci/generate_new_lockfile.lua @@ -70,6 +70,7 @@ local function write_lockfile(verbose) name = name, url = url, commit = commit, + branch = plugin.branch or "HEAD", }) end @@ -90,7 +91,7 @@ local function write_lockfile(verbose) } end - local handle = call_proc("git", { args = { "ls-remote", entry.url, "HEAD" } }, on_done) + local handle = call_proc("git", { args = { "ls-remote", entry.url, entry.branch } }, on_done) assert(handle) table.insert(active_jobs, handle) end |