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

Re: git commit-tree man page

From
Andreas Schwab <schwab@linux-m68k.org>
Date
Oct 24, 2012, 13:59 UTC
Message-ID
<m28vaw7yya.fsf@igel.home>
In-Reply-To
<CAB9Jk9BMndLj_nHW=EQbSS96Gp5+5NA3Vyb0r-EfVd+OPyQhnA@mail.gmail.com>
Angelo Borsotti <angelo.borsotti@gmail.com> writes:
Show 13 quoted lines
> Hello,
>
> the man page of git commit-tree SYNOPSIS is:
>
>     git commit-tree <tree> [(-p <parent>)...] < changelog
>     git commit-tree [(-p <parent>)...] [(-m <message>)...] [(-F
> <file>)...] <tree>
>
> The second form is incorrect: the <tree> must be specified before the options.
> E.g.
>
> $ git commit-tree -m B 88f7dbd47
> fatal: Not a valid object name -m
This has been fixed in 1.7.11.4:
 * "git commit-tree" learned a more natural "-p <parent> <tree>" order
   of arguments long time ago, but recently forgot it by mistake.
Andreas.
-- 
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."
Previous: Angelo Borsotti
Message 2 of 2 in “git commit-tree man page”
  1. Angelo BorsottiOct 24, 2012
  2. Andreas SchwabOct 24, 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.