Re: [GSoC][RFC PATCH v4 3/5] builtin/refs: add list subcommand

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 1 Aug 2025 at 21:19, Phillip Wood <phillip.wood123@xxxxxxxxx> wrote:
>
> On 01/08/2025 15:43, Junio C Hamano wrote:
> > Phillip Wood <phillip.wood123@xxxxxxxxx> writes:
> >
[snip]
> > If it
> > is not doing anything useful, perhaps we should make it match any
> > letter, without getting constrained by hierarchy boundaries?  IOW,
> > a "fix" might be to make sure the following happens?
> >
> >   - "refs/heads/m*" matches all local branches whose name starts with
> >     'm' like 'morning', but not the ones inside subhierarchies that
> >     start with 'm' like 'mid/night'.
> >
> >   - "refs/heads/m**" matches all local branches whose name starts
> >     with 'm' and in the ones inside subhierarchies that start with
> >     'm'.
>
> That sounds like a good idea
>
> Thanks
>
> Phillip
>
Hi Junio and Phillip,

Thanks for the valuable discussion.

I think it makes the most sense to implement the ** wildcard enhancement in a
separate patch series. The goals are logically different, and separating them
will be better for the commit history.

I'll start working on that series and will send it for review once this one is
wrapped up.

Thanks.




[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux