From b032a2bfe74e46acc451873ee5ebbf7f61b738ce Mon Sep 17 00:00:00 2001 From: Kristoffer Haugsbakk Date: Mon, 1 May 2023 22:02:39 +0200 Subject: [PATCH] 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 --- 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 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 '