I still see Jenkins using the "-h" in polling. I'm using git-client 1.10.1 and git 2.2.5 at the moment. It does appear to strip the "-h" when I prefix with refs/tags. Is it intentional that the "-h" is only removed there and not globally?

That aside, you're right about that tag issue. I'd initially only considered lightweight (i.e. not annotated) tags, which don't have their own object.

Adding a suffix of "~0" or "^0" when using a tag will de-reference the tag and get the commit it refers to for many git operations, but that doesn't appear to work with "git ls-remote".

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.

Reply via email to