Thread (1 message) 1 message, 1 author, 2021-04-13

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

From: Andreas Schwab <hidden>
Date: 2021-04-13 10:43:25

On Apr 13 2021, Ævar Arnfjörð Bjarmason wrote:
On Mon, Apr 12 2021, Patrick Steinhardt wrote:
quoted
+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."
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help