commit: document a couple of options

Document git commit '--branch' and '--no-post-rewrite'.  Mention that
'-z' can also be spelt as '--null'.

Signed-off-by: Ramkumar Ramachandra <artagnon@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
Ramkumar Ramachandra 2012-06-08 15:48:30 +05:30 committed by Junio C Hamano
parent 3207a3a291
commit e858af6d50

View File

@ -101,12 +101,16 @@ OPTIONS
When doing a dry-run, give the output in the short-format. See When doing a dry-run, give the output in the short-format. See
linkgit:git-status[1] for details. Implies `--dry-run`. linkgit:git-status[1] for details. Implies `--dry-run`.
--branch::
Show the branch and tracking info even in short-format.
--porcelain:: --porcelain::
When doing a dry-run, give the output in a porcelain-ready When doing a dry-run, give the output in a porcelain-ready
format. See linkgit:git-status[1] for details. Implies format. See linkgit:git-status[1] for details. Implies
`--dry-run`. `--dry-run`.
-z:: -z::
--null::
When showing `short` or `porcelain` status output, terminate When showing `short` or `porcelain` status output, terminate
entries in the status output with NUL, instead of LF. If no entries in the status output with NUL, instead of LF. If no
format is given, implies the `--porcelain` output format. format is given, implies the `--porcelain` output format.
@ -189,6 +193,10 @@ OPTIONS
current tip -- if it was a merge, it will have the parents of current tip -- if it was a merge, it will have the parents of
the current tip as parents -- so the current top commit is the current tip as parents -- so the current top commit is
discarded. discarded.
--no-post-rewrite::
Bypass the post-rewrite hook.
+ +
-- --
It is a rough equivalent for: It is a rough equivalent for: