Re: [GSoC PATCH v8 3/5] repo: add the field layout.bare
- From
Patrick Steinhardt <ps@pks.im>
- Date
- Aug 7, 2025, 05:20 UTC
- Message-ID
- <aJQ3sVf4MsgnCaMz@pks.im>
- In-Reply-To
- <20250806195537.93302-4-lucasseikioshiro@gmail.com>
On Wed, Aug 06, 2025 at 04:55:35PM -0300, Lucas Seiki Oshiro wrote:
Show 15 quoted lines
> 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