git commit-tree documentation incorrect parameter sequence

2 messages, 2 authors, 2016-06-15 · open the first message on its own page

git commit-tree documentation incorrect parameter sequence

From: 乙酸鋰 <hidden>
Date: 2016-06-15 22:54:07

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

Re: git commit-tree documentation incorrect parameter sequence

From: Jeff King <hidden>
Date: 2016-06-15 22:54:08

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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help