Pushing up a commit that added a file named "blah-V4-0.tar.gz" results in this error:
Writing objects: 100% (105/105), 28.75 MiB | 3.76 MiB/s, done.
Total 105 (delta 14), reused 105 (delta 14)
remote: update:INFO: Starting new HTTPS connection (1): <url>
remote: update:ERROR: No such issue 'V4-0' in Jira
remote: error: hook declined to update refs/heads/master
To <repor>.git
! [remote rejected] master -> master (hook declined)
error: failed to push some refs to '.git'
I think the problem is
a) the regex on line 265 is a bit too liberal:
magic = re.compile('\w+-\d+')
and
b) git_get_commit_msg uses --summary,
which gets a list of the files, rather than using git log or git reflog or something.
Pushing up a commit that added a file named "blah-V4-0.tar.gz" results in this error:
error: failed to push some refs to '.git'
I think the problem is
a) the regex on line 265 is a bit too liberal:
and
b)
git_get_commit_msguses--summary,which gets a list of the files, rather than using
git logorgit reflogor something.