Thread (1 message) 1 message, 1 author, 2016-06-15

Re: git commit-tree man page

From: Andreas Schwab <hidden>
Date: 2016-06-15 22:55:06

Angelo Borsotti [off-list ref] 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."
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help