Re: [PATCH v4 5/8] list-objects: implement object type filter
On Apr 13 2021, Ævar Arnfjörð Bjarmason wrote:
Show 9 quoted lines
> 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."