Re: [PATCH v2 0/9] About the trailing slashes
- From
Duy Nguyen <pclouds@gmail.com>
- Date
- Jan 25, 2014, 01:14 UTC
- Message-ID
- <CACsJy8BPS95+34chr4rfSTAcQNVHJccu9SYih2fiNxB_3eRy=A@mail.gmail.com>
- In-Reply-To
- <xmqqk3dprxr2.fsf@gitster.dls.corp.google.com>
On Sat, Jan 25, 2014 at 2:22 AM, Junio C Hamano <gitster@pobox.com> wrote:
> How does "git status '[b]/'" behave?
It outputs "b/" (like "git status b"). I think that's because common_prefix_len() stops looking at the first wildcard char, '['. So common prefix is empty, just like "b".
-- Duy