From: Kristoffer Haugsbakk Date: Mon, 1 May 2023 20:02:39 +0000 (+0200) Subject: doc: interpret-trailers: use input redirection X-Git-Tag: v2.41.0-rc0~16^2~2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=b032a2bfe74e46acc451873ee5ebbf7f61b738ce;p=thirdparty%2Fgit.git doc: interpret-trailers: use input redirection 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 Signed-off-by: Kristoffer Haugsbakk Signed-off-by: Junio C Hamano --- 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 ' --trailer 'sign: Bob ' +$ git interpret-trailers --trailer 'sign: Alice ' --trailer 'sign: Bob '