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

Re: [PATCH 1/1] ls-remote: don't use '-h' for options

From
Junio C Hamano <gitster@pobox.com>
Date
Feb 27, 2020, 17:54 UTC
Message-ID
<xmqqk147gblq.fsf@gitster-ct.c.googlers.com>
In-Reply-To
<74969200f4dd2993eece8308a72546c3@pascalroeleven.nl>
Pascal Roeleven <dev@pascalroeleven.nl> writes:
> Although I still don't quite agree with the inner workings of this
> command (but I understand the choice because of
> backwards-compatibility),...

Yeah, the unpleasant backstory is that "ls-remote -h" predates the universal "-h" support offered by the parse-options API by a large margin.

Previous: Pascal Roeleven
Message 6 of 6 in “ls-remote: don't use '-h' for options”
  1. 1/1 ls-remote: don't use '-h' for optionsdev@pascalroeleven.nl, Feb 27, 2020
  2. Danh DoanFeb 27, 2020
  3. Pascal RoelevenFeb 27, 2020
  4. Junio C HamanoFeb 27, 2020
  5. Pascal RoelevenFeb 27, 2020
  6. Junio C HamanoFeb 27, 2020

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.