Control priority by bang

This commit is contained in:
Masahiro Kasashima 2023-09-23 10:07:01 +09:00
parent 27655e19d4
commit 2388e69546
2 changed files with 16 additions and 17 deletions

View file

@ -22,7 +22,7 @@ function M.setup()
M.repo_url = string.format("http://%s/%s/%s", gh.host, gh.user_or_org, gh.reponame)
end
M.priority = { BRANCH = 'branch-priority', COMMIT = 'commit-priority', }
M.priority = { BRANCH = 1, COMMIT = 2, }
local function get_current_branch_or_commit_with_priority(priority)
if priority == M.priority.BRANCH then