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

From: Patrick Steinhardt <[email-masked]>
Date: Thu, 7 Aug 2025 07:20:49 +0200

On Wed, Aug 06, 2025 at 04:55:35PM -0300, Lucas Seiki Oshiro wrote:
> 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