Message ID | 32483aa635a61283c3c901c4705e531c9736209b.1682970213.git.code@khaugsbakk.name (mailing list archive) |
---|---|
State | Accepted |
Commit | b032a2bfe74e46acc451873ee5ebbf7f61b738ce |
Headers | show |
Series | doc: interpret-trailers: don't use deprecated config | expand |
diff --git a/Documentation/git-interpret-trailers.txt b/Documentation/git-interpret-trailers.txt index 4f4eb7a7fc..4ff8be7f2e 100644 --- a/Documentation/git-interpret-trailers.txt +++ b/Documentation/git-interpret-trailers.txt @@ -280,7 +280,7 @@ $ cat msg.txt subject message -$ cat msg.txt | git interpret-trailers --trailer 'sign: Alice <alice@example.com>' --trailer 'sign: Bob <bob@example.com>' +$ git interpret-trailers --trailer 'sign: Alice <alice@example.com>' --trailer 'sign: Bob <bob@example.com>' <msg.txt subject message
Use input redirection instead of invoking cat(1) on a single file. This is more straightforward, saves a process, and often makes the line shorter. Suggested-by: Junio C Hamano <gitster@pobox.com> Signed-off-by: Kristoffer Haugsbakk <code@khaugsbakk.name> --- Notes (series): Junio suggested expanding the commit message: https://lore.kernel.org/git/xmqqjzyg7qdw.fsf@gitster.g/ Documentation/git-interpret-trailers.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)