> On 06/11/2015 07:59 PM, Ady via Syslinux wrote: > > http://git.zytor.com/?p=syslinux/syslinux.git;a=tag;h=a4fcb6d867aadcaf5a > > f8f87eb1ba96abe2748159 > > This is the only one I can't seem to get to work. We might have to ask > the cgit maintainer if there is a way to even get to tag objects by > hash. Once again, clumsy. > > -hpa >Aren't you explicitly dropping the "refs/tags"? See the note in your code, "# Drop leading refs/tags". If I understand correctly /tag/?id=syslinux-4.07 refers to the name of the tag, "syslinux-4.07" whereas: /tag/?id=/refs/tags/a4fcb6d867aadcaf5af8f87eb1ba96abe2748159 would be the corresponding reference to the hash. The "/refs/tag/" would go after the "?id=". Or, I am confused and "?id=" is *not* supposed to be used for the tag's hash (perhaps there is something else, not "?id="), in which case there would be no potential conflict between the tag name and its hash. TIA, Ady.
> > > On 06/11/2015 07:59 PM, Ady via Syslinux wrote: > > > http://git.zytor.com/?p=syslinux/syslinux.git;a=tag;h=a4fcb6d867aadcaf5a > > > f8f87eb1ba96abe2748159 > > > > This is the only one I can't seem to get to work. We might have to ask > > the cgit maintainer if there is a way to even get to tag objects by > > hash. Once again, clumsy. > > > > -hpa > > > > Aren't you explicitly dropping the "refs/tags"? > > See the note in your code, "# Drop leading refs/tags". > > If I understand correctly > > /tag/?id=syslinux-4.07 > > refers to the name of the tag, "syslinux-4.07" > > whereas: > > /tag/?id=/refs/tags/a4fcb6d867aadcaf5af8f87eb1ba96abe2748159 > > would be the corresponding reference to the hash. The "/refs/tag/" > would go after the "?id=". > > Or, I am confused and "?id=" is *not* supposed to be used for the tag's > hash (perhaps there is something else, not "?id="), in which case there > would be no potential conflict between the tag name and its hash. >Oops. Sorry, the other way around. If I understand correctly /tag/?id=/refs/tags/syslinux-4.07 refers to the name of the tag, "syslinux-4.07" whereas: /tag/?id=a4fcb6d867aadcaf5af8f87eb1ba96abe2748159 would be the corresponding reference to the hash. The "/refs/tags/" would go after the "?id=" and before the name of the tag. TIA, Ady.
On 06/15/2015 12:50 PM, Ady wrote:> > Oops. Sorry, the other way around. > > If I understand correctly > > /tag/?id=/refs/tags/syslinux-4.07 > > refers to the name of the tag, "syslinux-4.07" > > whereas: > > /tag/?id=a4fcb6d867aadcaf5af8f87eb1ba96abe2748159 > > would be the corresponding reference to the hash. The "/refs/tags/" > would go after the "?id=" and before the name of the tag. >Well, neither works. -hpa