There semantics of such actions are unclear, especially if the same SHA1
is pushed in both magical and non-magical refs. In order to support
this functionality, it is necessary to handle normal and magic pushes
in the same piece of code, which makes ReceiveCommits extremely
complicated.
With this change, the behavior tested in submitOnPushWithAnnotatedTag
and submitOnPushWithTag is removed. If you want to push submission to
a tag, do
git push origin HEAD:refs/tags/TAGNAME
git push origin HEAD:refs/for/BRANCH%submit
sequentially instead.
Change-Id: I07a7bae730f523006a84400f54794b7869f7a6e7
Bug: Issue 4495