]> git.ipfire.org Git - thirdparty/git.git/commit
doc: interpret-trailers: fix example
authorKristoffer Haugsbakk <code@khaugsbakk.name>
Mon, 1 May 2023 20:02:41 +0000 (22:02 +0200)
committerJunio C Hamano <gitster@pobox.com>
Mon, 1 May 2023 20:26:42 +0000 (13:26 -0700)
commitcbb83daeafa27ba8880516deb943900e46cb047f
tree1e8ef559e1ca04191f023e021f55e4b9b537667b
parentf68c26873d57db064831e9be97555f301dd6fe41
doc: interpret-trailers: fix example

We need to provide `--trailer sign` since the command won’t output
anything if you don’t give it an input and/or a
`--trailer`. Furthermore, the message which already contains an s-o-b is
wrong:

    $ git interpret-trailers --trailer sign <msg.txt
Signed-off-by: Alice <alice@example.com>
Signed-off-by: Alice <alice@example.com>
This can’t be what was originally intended.

So change the messages in this example to use the typical
“subject/message” file.

Signed-off-by: Kristoffer Haugsbakk <code@khaugsbakk.name>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/git-interpret-trailers.txt