From: Andreas Schwab Date: Tue, 13 Apr 2021 10:43:15 GMT Subject: Re: [PATCH v4 5/8] list-objects: implement object type filter Message-ID: <87im4qh3cs.fsf@igel.home> In-Reply-To: <877dl6eccv.fsf@evledraar.gmail.com> On Apr 13 2021, Ævar Arnfjörð Bjarmason wrote: > On Mon, Apr 12 2021, Patrick Steinhardt wrote: >> +test_expect_success 'verify object:type=blob prints blob and commit' ' >> + ( >> + git -C object-type rev-parse HEAD && >> + printf "%s blob\n" $(git -C object-type rev-parse HEAD:blob) >> + ) >expected && > > Just use > and >> or a single printf with two arguments instead of a > subshell? You can also use just { } for grouping. Andreas. -- Andreas Schwab, schwab@linux-m68k.org GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510 2552 DF73 E780 A9DA AEC1 "And now for something completely different."