|
||||||||
|
This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators. For more information on JIRA, see: http://www.atlassian.com/software/jira |
||||||||
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
For more options, visit https://groups.google.com/d/optout.

It is intentional that the "-h" is only dropped when the "refs/tags/tag_name" syntax is used, since that syntax was a new addition and we were not confident we could predict all the side effects if we removed the "-h" from the general case.
There is a suffix we can add which does resolve with ls-remote. It is
git ls-remote tag_name^{}I haven't yet looked to see if that is safe for both annotated and lightweight tags. If not, then it might require two calls to "git ls-remote" in the refs/tags case, once for annotated tags and once for lightweight tags.