Web lists-archives.com

Re: [PATCH v1 1/2] refs: extract function to normalize partial refs

Michael Haggerty <mhagger@xxxxxxxxxxxx> writes:

> [1] I say "almost entirely" because putting them in one function means
> that only `pattern` needs to be scanned for glob characters. But that is
> an unimportant detail.

That could actually be an important detail, in that even if prefix
has wildcard, we'd still append the trailing "/*" as long as the
pattern does not, right?