Re: [PATCH v4 5/8] list-objects: implement object type filter

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxx
GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510  2552 DF73 E780 A9DA AEC1
"And now for something completely different."



[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux