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

Re: git commit-tree documentation incorrect parameter sequence

From
Junio C Hamano <gitster@pobox.com>
Date
Jun 20, 2012, 17:58 UTC
Message-ID
<7va9zxx3uh.fsf@alter.siamese.dyndns.org>
In-Reply-To
<20120620003726.GA6741@sigill.intra.peff.net>
Jeff King <peff@peff.net> writes:
Show 12 quoted lines
> On Sun, Jun 17, 2012 at 09:57:42AM +0800, 乙酸鋰 wrote:
>
>> In current git commit-tree documentation,
>> the parameter sequence is incorrect.
>> 
>> git commit-tree <tree> [(-p <parent>)…] < changelog
>> git commit-tree [(-p <parent>)…] [(-m <message>)…] [(-F <file>)…] <tree>
>> 
>> The second line in incorrect, and <tree> should come first
>> git commit-tree <tree> [(-p <parent>)…] [(-m <message>)…] [(-F <file>)…]
>
> Yes, I believe you're right. Would you care to submit a patch?
Done as d28436736.
Previous: Jeff King
Message 3 of 3 in “git commit-tree documentation incorrect parameter sequence”
  1. 乙酸鋰Jun 17, 2012
  2. Jeff KingJun 20, 2012
  3. Junio C HamanoJun 20, 2012

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.