git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH] ls-remote: set packet_trace_identity(<name>)

From
Jeff King <peff@peff.net>
Date
Aug 23, 2021, 16:08 UTC
Message-ID
<YSPH4PoRG78Ybv0J@coredump.intra.peff.net>
In-Reply-To
<patch-1.1-5d3a2b96500-20210823T131533Z-avarab@gmail.com>
On Mon, Aug 23, 2021 at 03:17:49PM +0200, Ævar Arnfjörð Bjarmason wrote:
Show 11 quoted lines
> Set packet_trace_identity() for ls-remote. This replaces the generic
> "git" identity in GIT_TRACE_PACKET=<file> traces to "ls-remote", e.g.:
> 
>     [...] packet:  upload-pack> version 2
>     [...] packet:  upload-pack> agent=git/2.32.0-dev
>     [...] packet:    ls-remote< version 2
>     [...] packet:    ls-remote< agent=git/2.32.0-dev
> 
> Where in an "git ls-remote file://<path>" dialog ">" is the sender (or
> "to the server") and "<" is the recipient (or "received by the
> client").

Thanks, this looks like an obvious improvement. I'm a little surprised it wasn't there already, but I guess I just missed it way back in bbc30f9963 (add packet tracing debug code, 2011-02-24).

-Peff
Previous: Ævar Arnfjörð Bjarmason
Message 2 of 2 in “ls-remote: set packet_trace_identity(<name>)”
  1. ls-remote: set packet_trace_identity(<name>)Ævar Arnfjörð Bjarmason, Aug 23, 2021
  2. Jeff KingAug 23, 2021

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.