diff options
author | Daniel Silverstone <dsilvers@digital-scurf.org> | 2012-08-06 19:23:01 +0100 |
---|---|---|
committer | Daniel Silverstone <dsilvers@digital-scurf.org> | 2012-08-06 19:23:01 +0100 |
commit | 9cf43187cc9b543ddcb6aac644874202c7512a3a (patch) | |
tree | 62326225b5cc207bb00e08e516b50c2dff059b2e | |
parent | 4a0ae87b871e59139784ea68dff818e1983b3992 (diff) | |
download | gitano-supple-integration.tar.gz |
Ensure that we don't pass non-shaish things to repo.git:rev-list()supple-integration
-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 = {} |