Re: [PATCH v4 0/4] for-each-ref: introduce seeking functionality via '--start-after'

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

 



Junio C Hamano <gitster@xxxxxxxxx> writes:

> Christian Couder <christian.couder@xxxxxxxxx> writes:
>
>> On Fri, Jul 11, 2025 at 6:20 PM Karthik Nayak <karthik.188@xxxxxxxxx> wrote:
>>
>>> Initially I was also planning to cleanup all the `refs_for_each...()`
>>> functions in 'refs.h' by simply using the iterator, but this bloated the
>>> series. So I've left that for another day.
>>
>> I wonder if there is a plan to add the '--start-after' option to `git
>> branch` and `git tag` too?
>
> Good question.
>
> "git for-each-ref" is for scripters, "git branch/tag" are for
> humans.  And humans do not page (outside "more/less").
>
> So while it may be trivial to expose the feature to these Porcelain
> commands, it is not obvious that it is a good idea worth cluttering
> "git tag -h" output.

Agreed, since the functionality is built into 'ref-filter', it should be
easy to expand to these commands. But I don't see the need for it.

Karthik

Attachment: signature.asc
Description: PGP signature


[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