Thread (178 messages) 178 messages, 10 authors, 2025-08-16

Re: [GSoC PATCH v8 3/5] repo: add the field layout.bare

From: Patrick Steinhardt <hidden>
Date: 2025-08-07 05:20:57

On Wed, Aug 06, 2025 at 04:55:35PM -0300, Lucas Seiki Oshiro wrote:
quoted hunk ↗ jump to hunk
diff --git a/t/t1900-repo.sh b/t/t1900-repo.sh
index ce02b394da..32f64b635b 100755
--- a/t/t1900-repo.sh
+++ b/t/t1900-repo.sh
@@ -54,4 +60,14 @@ test_expect_success 'only one value is returned if the same key is requested twi
 	test_cmp expect actual
 '
 
+test_expect_success 'output is returned correctly when two keys are requested' '
+	cat >expected <<-\EOF &&
+	layout.bare=false
+	references.format=files
+	EOF
+	git init --ref-format=files two-keys &&
+	git -C two-keys repo info layout.bare references.format > actual &&
Tiny nit, not worth a reroll on its own: our code style doesn't have a
space between the redirect operator and its target.

Patrick
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help