]> git.ipfire.org Git - thirdparty/git.git/commit
doc: commit: link to git-status(1) on all format options
authorKristoffer Haugsbakk <code@khaugsbakk.name>
Fri, 14 Nov 2025 14:04:47 +0000 (15:04 +0100)
committerJunio C Hamano <gitster@pobox.com>
Fri, 14 Nov 2025 16:56:35 +0000 (08:56 -0800)
commitdf90eccd931dfd8e6ecbc0c18c5037c85cc115dc
tree1b7fd8c2f2458ff10715e4eb9fb14445235af052
parentfd372d9b1a69a01a676398882bbe3840bf51fe72
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>
Documentation/git-commit.adoc