doc: commit: link to git-status(1) on all format options

`--branch` and `--long` refer to git-status(1) options but they don’t tell us what `short-format` and `long-format` are, respectively. And `--null` mentions “status” but does not link to the command. Refer to git-config(1) on `--branch` like `--short` does. `long-format` is the git-status(1) output. So we can just say that directly. Replace “status” with a `linkgit` on `--null`. Signed-off-by: Kristoffer Haugsbakk <code@khaugsbakk.name> Signed-off-by: Junio C Hamano <gitster@pobox.com>

Kristoffer Haugsbakk committed Nov 14, 2025 at 15:04 UTC df90eccd931dfd8e6ecbc0c18c5037c85cc115dc
1 file changed +6 -4
Documentation/git-commit.adoc
+6 -4
@@ -146,7 +146,8 @@ See linkgit:git-rebase[1] for details.
146 linkgit:git-status[1] for details. Implies `--dry-run`.
147
148 `--branch`::
149 - Show the branch and tracking info even in short-format.
149 + Show the branch and tracking info even in short-format. See
150 + linkgit:git-status[1] for details.
151
152 `--porcelain`::
153 When doing a dry-run, give the output in a porcelain-ready
@@ -154,12 +155,13 @@ See linkgit:git-rebase[1] for details.
155 `--dry-run`.
156
157 `--long`::
157 - When doing a dry-run, give the output in the long-format.
158 - Implies `--dry-run`.
158 + When doing a dry-run, give the output in the long-format. This
159 + is the default output of linkgit:git-status[1]. Implies
160 + `--dry-run`.
161
162 `-z`::
163 `--null`::
162 - When showing `short` or `porcelain` status output, print the
164 + When showing `short` or `porcelain` linkgit:git-status[1] output, print the
165 filename verbatim and terminate the entries with _NUL_, instead of _LF_.
166 If no format is given, implies the `--porcelain` output format.
167 Without the `-z` option, filenames with "unusual" characters are