Re: [PATCH v2] sha1-name.c: Fix handling of revisions that contain paths with brackets
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Dec 28, 2018, 19:59 UTC
- Message-ID
- <xmqqtvixo219.fsf@gitster-ct.c.googlers.com>
- In-Reply-To
- <20181224080651.GA12708@duynguyen.home>
Duy Nguyen <pclouds@gmail.com> writes:
> Note that it also shows another corner case we need to be careful
> about: master^{/regex} syntax _can_ contain colons in regex. I suppose
> doing strchr to find the closing '}' here is better than what I did
> below.Yes, the posted patch breaks master^{/foo:bar}, I suppose.