From: Junio C Hamano Date: Mon, 13 Aug 2018 19:05:24 GMT Subject: Re: [PATCH] t5318: avoid unnecessary command substitutions Message-ID: In-Reply-To: <20180813003010.17610-1-szeder.dev@gmail.com> SZEDER Gábor writes: > - echo $(git -C repo log --pretty="%ct" -1) \ > - $(git -C repo rev-parse one) >expect && > + { > + git -C repo log --pretty=format:"%ct " -1 && > + git -C repo rev-parse one > + } >expect && Heh, "format:"%ct " to make the first one end with an incomplete line? Neat trick.