Merge branch 'kh/doc-commit-extra-references'

Doc update.

* kh/doc-commit-extra-references:
  doc: commit: link to git-status(1) on all format options
main
Junio C Hamano 2025-11-24 15:46:41 -08:00
commit aa934e0950
1 changed files with 6 additions and 4 deletions

View File

@ -146,7 +146,8 @@ See linkgit:git-rebase[1] for details.
linkgit:git-status[1] for details. Implies `--dry-run`. linkgit:git-status[1] for details. Implies `--dry-run`.


`--branch`:: `--branch`::
Show the branch and tracking info even in short-format. Show the branch and tracking info even in short-format. See
linkgit:git-status[1] for details.


`--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
@ -154,12 +155,13 @@ See linkgit:git-rebase[1] for details.
`--dry-run`. `--dry-run`.


`--long`:: `--long`::
When doing a dry-run, give the output in the long-format. When doing a dry-run, give the output in the long-format. This
Implies `--dry-run`. is the default output of linkgit:git-status[1]. Implies
`--dry-run`.


`-z`:: `-z`::
`--null`:: `--null`::
When showing `short` or `porcelain` status output, print the When showing `short` or `porcelain` linkgit:git-status[1] output, print the
filename verbatim and terminate the entries with _NUL_, instead of _LF_. filename verbatim and terminate the entries with _NUL_, instead of _LF_.
If no format is given, implies the `--porcelain` output format. If no format is given, implies the `--porcelain` output format.
Without the `-z` option, filenames with "unusual" characters are Without the `-z` option, filenames with "unusual" characters are