diff options
-rw-r--r-- | lib/gitano/actions.lua | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/gitano/actions.lua b/lib/gitano/actions.lua index 0a5152a..3de1001 100644 --- a/lib/gitano/actions.lua +++ b/lib/gitano/actions.lua @@ -99,6 +99,9 @@ local cia_commit_pattern = [[ local function cia_branch_update_gen(project, branch, repo, previoustip, newtip) + previoustip = previoustip:gsub("[^0-9a-fA-F]", "") + newtip = newtip:gsub("[^0-9a-fA-F]", "") + local revs = repo.git:rev_list(previoustip, newtip, true) local commits = {} |