Re: [GSoC PATCH v7 3/5] repo: add the field layout.bare
On Fri, Aug 01, 2025 at 10:11:08AM -0300, Lucas Seiki Oshiro wrote:
Show 17 quoted lines
> diff --git a/t/t1900-repo.sh b/t/t1900-repo.sh
> index 9796e36087..6c555e90c3 100755
> --- a/t/t1900-repo.sh
> +++ b/t/t1900-repo.sh
> @@ -54,4 +60,12 @@ 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 >expect <<-\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
> +'
> test_done
Tiny nit: there's a newline missing between the test and `test_done`.
Patrick