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

Re: git commit-tree documentation incorrect parameter sequence

From
Jeff King <peff@peff.net>
Date
Jun 20, 2012, 00:37 UTC
Message-ID
<20120620003726.GA6741@sigill.intra.peff.net>
In-Reply-To
<CAHtLG6S3ZyBV+0KxKLUSCO7yOXLGD1NGhM62sJfKPUMSeQTSoQ@mail.gmail.com>
On Sun, Jun 17, 2012 at 09:57:42AM +0800, 乙酸鋰 wrote:
Show 8 quoted lines
> 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?
-Peff
Previous: 乙酸鋰Next: Junio C Hamano
Message 2 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.