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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Aug 14, 2025 at 6:18 PM Lucas Seiki Oshiro
<lucasseikioshiro@xxxxxxxxx> wrote:
> > I also care about future-proofing, though.  When Git is built with
> > WITH_BREAKING_CHANGES=YesPlease, this test would break as the
> > default reference backend will be reftable in that alternate world,
> > wouldn't it?
>
> To be honest, it wouldn't matter what are the keys selected for
> testing this behavior. I'm only using references.format because it
> was the first that I implemented. But given that, I can also change
> their order to something like:
>
> [1/5] repo: declare the repo command
> [2/5] repo: add the field layout.bare
> [3/5] repo: add the field layout.shallow
> [2/5] repo: add the field references.format
> [5/5] repo: add the --format flag
>
> This way, this tests could be placed in 3/5 and using layout.bare and
> layout.shallow as keys.

I don't have a strong preference since I think you already
future-proofed the test by using `--ref-format=files` with the
git-init
invocation, but the above suggested patch order would work, as well,
and seems sufficiently reviewer-friendly.





[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux