summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2025-11-24 15:46:41 -0800
committerJunio C Hamano <gitster@pobox.com>2025-11-24 15:46:41 -0800
commitaa934e09502b222cee362cda42982cabfc550ebb (patch)
treef37f2a6ef8cd17b7b3f3296cfa39736cb28b361a /Documentation
parenta545103244a712fd6a96dd2020fe91c0c8f6fdce (diff)
parentdf90eccd931dfd8e6ecbc0c18c5037c85cc115dc (diff)
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
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/git-commit.adoc10
1 files changed, 6 insertions, 4 deletions
diff --git a/Documentation/git-commit.adoc b/Documentation/git-commit.adoc
index 54c207ad45..8329c1034b 100644
--- a/Documentation/git-commit.adoc
+++ b/Documentation/git-commit.adoc
@@ -146,7 +146,8 @@ See linkgit:git-rebase[1] for details.
linkgit:git-status[1] for details. Implies `--dry-run`.
`--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`::
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`.
`--long`::
- When doing a dry-run, give the output in the long-format.
- Implies `--dry-run`.
+ When doing a dry-run, give the output in the long-format. This
+ is the default output of linkgit:git-status[1]. Implies
+ `--dry-run`.
`-z`::
`--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_.
If no format is given, implies the `--porcelain` output format.
Without the `-z` option, filenames with "unusual" characters are