-
-
Couldn't load subscription status.
- Fork 394
Description
Current behavior 😯
so I'm not sure if maybe I am not doing it right, but I know git servers support queries which can include wildcards and character classes as a sort of minimal subset of more complex regex.
As far as I can tell though, any attempt to actually query a remote with a character class fails, and it seems to be when I parse a string to a RefSpecRef via gix::refspec::parse. I get the error: "A reference must be a valid tag name as well"
Expected behavior 🤔
Ideally we should support any kinda of query a git server can support including character classes.
Git behavior
for example git ls-remote origin "refs/tags/v[0.9]* would return all tags that sorta look like a version
Steps to reproduce 🕹
Just include a character class in a call to the aforementioned parse function.