From 21efd79022fe3206ea325c69afd8ca41c7a269f9 Mon Sep 17 00:00:00 2001 From: David Leal Date: Tue, 4 Jul 2023 21:08:26 +0000 Subject: [PATCH] Use proper `checkout` command --- update-repos.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/update-repos.lua b/update-repos.lua index 729b9b6..c17c8b2 100644 --- a/update-repos.lua +++ b/update-repos.lua @@ -79,7 +79,7 @@ local function update_repos() goto continue end - os.execute("git checkout --theirs .") + os.execute("git checkout --theirs " .. repos[i].dir .. repos[i].name) os.execute("git add " .. repos[i].dir .. repos[i].name) if one_pr == "false" then