git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* git commit-tree documentation incorrect parameter sequence
@ 2012-06-17  1:57 乙酸鋰
  2012-06-20  0:37 ` Jeff King
  0 siblings, 1 reply; 3+ messages in thread
From: 乙酸鋰 @ 2012-06-17  1:57 UTC (permalink / raw)
  To: git

Dear Sir,

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>)…]

Regards,
ch3cooli

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: git commit-tree documentation incorrect parameter sequence
  2012-06-17  1:57 git commit-tree documentation incorrect parameter sequence 乙酸鋰
@ 2012-06-20  0:37 ` Jeff King
  2012-06-20 17:58   ` Junio C Hamano
  0 siblings, 1 reply; 3+ messages in thread
From: Jeff King @ 2012-06-20  0:37 UTC (permalink / raw)
  To: 乙酸鋰; +Cc: git

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?

-Peff

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: git commit-tree documentation incorrect parameter sequence
  2012-06-20  0:37 ` Jeff King
@ 2012-06-20 17:58   ` Junio C Hamano
  0 siblings, 0 replies; 3+ messages in thread
From: Junio C Hamano @ 2012-06-20 17:58 UTC (permalink / raw)
  To: Jeff King; +Cc: 乙酸鋰, git

Jeff King <peff@peff.net> writes:

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2012-06-20 17:58 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-06-17  1:57 git commit-tree documentation incorrect parameter sequence 乙酸鋰
2012-06-20  0:37 ` Jeff King
2012-06-20 17:58   ` Junio C Hamano

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