Re: [PATCH v1 1/2] refs: extract function to normalize partial refs
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Nov 6, 2017, 01:23 UTC
- Message-ID
- <xmqqwp34jj3h.fsf@gitster.mtv.corp.google.com>
- In-Reply-To
- <4dc4eefc-56b9-1b13-ae46-83a3af9c7ee3@alum.mit.edu>
Michael Haggerty <mhagger@alum.mit.edu> 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?