This commit is contained in:
Bill Ferguson
2021-07-02 21:26:45 -04:00
parent 93cc0adb39
commit 440dfcadfd

View File

@@ -880,9 +880,11 @@ if sm.executables.git and clean and
checkout_repo_branch(repo, "master")
end
end
elseif branches ~= nil and LUA_API_VER > branches[#branches] then
log.msg(log.info, "no newer branches, staying on master")
-- stay on master
elseif branches then
if LUA_API_VER > branches[#branches] then
log.msg(log.info, "no newer branches, staying on master")
-- stay on master
end
else
-- checkout the appropriate branch for API version if it exists
log.msg(log.info, "checking out the appropriate API branch")