[PATCH 3/3] doc: interpret-trailers: fix example
- From
Kristoffer Haugsbakk <code@khaugsbakk.name>
- Date
- Mar 31, 2023, 18:16 UTC
- Message-ID
- <20230331181652.15729-1-code@khaugsbakk.name>
- In-Reply-To
- <20230331180817.14466-1-code@khaugsbakk.name>
This command won’t output anything if you don’t give it an input and/or a `--trailer`.
Cc: Christian Couder <chriscool@tuxfamily.org> Signed-off-by: Kristoffer Haugsbakk <code@khaugsbakk.name> --- Documentation/git-interpret-trailers.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Documentation/git-interpret-trailers.txt b/Documentation/git-interpret-trailers.txt index 792d61ae7b..2aa190fd3f 100644 --- a/Documentation/git-interpret-trailers.txt +++ b/Documentation/git-interpret-trailers.txt @@ -326,7 +326,7 @@ $ git config trailer.sign.key "Signed-off-by: " $ git config trailer.sign.ifmissing add $ git config trailer.sign.ifexists doNothing $ git config trailer.sign.cmd 'echo "$(git config user.name) <$(git config user.email)>"' -$ git interpret-trailers <<EOF +$ git interpret-trailers --trailer sign <<EOF > EOF Signed-off-by: Bob <bob@example.com>
-- 2.40.0