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

Re: [PATCH 1/3] Add support for external programs for handling native fetches

From
Shawn O. Pearce <spearce@spearce.org>
Date
Jul 25, 2009, 18:45 UTC
Message-ID
<20090725184526.GB11191@spearce.org>
In-Reply-To
<alpine.LNX.2.00.0907251330240.2147@iabervon.org>
Daniel Barkalow <barkalow@iabervon.org> wrote:
Show 6 quoted lines
> +Commands are given by the caller on the helper's standard input, one per line.
> +
> +'list'::
> +	Outputs the names of refs followed by the hex of their values
> +	or "@<name>" for symrefs, one per line. After the complete
> +	list, outputs a blank line.

I hate to be a nit, but why this format and not the one that is produced by `git ls-remote` and the native protocol? I know its pretty arbitrary either way, but since we already have a history of using "SHA1 ref\n" why not continue that tradition here?

-- 
Shawn.
Previous: Junio C HamanoNext: Daniel Barkalow
Message 12 of 13 in “Add support for external programs for handling native fetches”
  1. 1/3 Add support for external programs for handling native fetchesDaniel Barkalow, Jul 25, 2009
  2. Johannes SchindelinJul 25, 2009
  3. Linus TorvaldsJul 25, 2009
  4. Linus TorvaldsJul 25, 2009
  5. Steven NoonanJul 25, 2009
  6. Linus TorvaldsJul 25, 2009
  7. Junio C HamanoJul 26, 2009
  8. Linus TorvaldsJul 26, 2009
  9. Junio C HamanoJul 26, 2009
  10. Linus TorvaldsJul 26, 2009
  11. Junio C HamanoJul 26, 2009
  12. Shawn O. PearceJul 25, 2009
  13. Daniel BarkalowJul 25, 2009

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.