🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: linux.kernel.git
1 messages
1 total messages Started by Junio C Hamano Thu, 22 Oct 2026 21:46
Re: [PATCH] negotiator/skipping.c: parse parents before queueing
#1205
Author: Junio C Hamano
Date: Thu, 22 Oct 2026 21:46
18 lines
13351 bytes
Taylor Blau <ttaylorr@openai.com> writes:

> 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 >actual

which is not exactly readable.  Even folks on process/fork starved
platforms would not appreciate it X-<.
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads