git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Andreas Schwab <schwab@linux-m68k.org>
To: Angelo Borsotti <angelo.borsotti@gmail.com>
Cc: git <git@vger.kernel.org>
Subject: Re: git commit-tree man page
Date: Wed, 24 Oct 2012 15:59:41 +0200	[thread overview]
Message-ID: <m28vaw7yya.fsf@igel.home> (raw)
In-Reply-To: <CAB9Jk9BMndLj_nHW=EQbSS96Gp5+5NA3Vyb0r-EfVd+OPyQhnA@mail.gmail.com> (Angelo Borsotti's message of "Wed, 24 Oct 2012 14:45:46 +0200")

Angelo Borsotti <angelo.borsotti@gmail.com> writes:

> 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."

      reply	other threads:[~2012-10-24 14:00 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-10-24 12:45 git commit-tree man page Angelo Borsotti
2012-10-24 13:59 ` Andreas Schwab [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m28vaw7yya.fsf@igel.home \
    --to=schwab@linux-m68k.org \
    --cc=angelo.borsotti@gmail.com \
    --cc=git@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).