Re: [PATCH] negotiator/skipping.c: parse parents before queueing
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Oct 22, 2026, 21:46 UTC
- Message-ID
- <xmqq1p9he7cr.fsf@gitster.g>
- In-Reply-To
- <atp0Q5dFHQHAZAov@com-79390>
Taylor Blau <ttaylorr@openai.com> writes:
Show 5 quoted lines
> Thanks, I realized when responding here that we don't even need the > 'haves' intermediate file, so we can replace this and the above line > with: > > sed -n "s/.*fetch> have //p" trace | head -n 2 >actual &&
Looks good enough. Thanks.
I wondered if we can avoid pipes, but the best I could come up with was this:
sed -n '/.*fetch> have /{s///p;x;/./q;H;}' trace >actualwhich is not exactly readable. Even folks on process/fork starved platforms would not appreciate it X-<.