From: Derrick Stolee Date: Tue, 07 Jun 2022 19:41:14 GMT Subject: Re: [PATCH 0/2] builtin/show-ref.c: support `--count` for limiting output Message-ID: <73a973fa-cb44-b92e-e8c0-b68e14b4bd34@github.com> In-Reply-To: On 6/6/2022 7:00 PM, Junio C Hamano wrote: > Taylor Blau writes: > >> If you're strongly opposed to having `show-ref` match `for-each-ref`'s >> `--count` option, I won't be too sad. But I'm not in a huge rush to >> replace this series with `git --pipe-to-head-N=` either, FWIW. > > Heh, to me "git --pipe-to-head-N=" smells equally absurd, too ;-) I wonder if we could teach Git to skip an extra process if we see git -c "core.pager=head -n=" ... ? Thanks, -Stolee