From: Junio C Hamano Date: Wed, 12 Apr 2023 21:16:27 GMT Subject: Re: [PATCH v3 2/4] doc: interpret-trailers: use input redirection Message-ID: In-Reply-To: <12f7b10462184cbac884859e91d7b45e021041ee.1681326818.git.code@khaugsbakk.name> Kristoffer Haugsbakk writes: > Suggested-by: Junio C Hamano > Signed-off-by: Kristoffer Haugsbakk > --- Perhaps explain why it is a good idea in the body of the message? Instead of "cat"ting a single file into a pipe, redirect from the file to the standard input of the command on the downstream side of the pipe. This is more straight-forward, saves one extra process, and often makes the line shorter. or something like that.