Re: [PATCH v4 3/8] environment: move `zlib_compression_level` into `struct repo_config_values`
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Jun 2, 2026, 10:26 UTC
- Message-ID
- <xmqq33z5xmp8.fsf@gitster.g>
- In-Reply-To
- <CAP8UFD2J_482vT3J3hYpSeqG+of_ZDjO3a-paGocRyRgn0=FDQ@mail.gmail.com>
Christian Couder <christian.couder@gmail.com> writes:
Show 15 quoted lines
> On Tue, Jun 2, 2026 at 10:13 AM Patrick Steinhardt <ps@pks.im> wrote: > >> Overall, I think it's sensible to always use `the_repository` at the >> callsites in a patch series like this so that it's obvious that there is >> no change in behaviour. So every patch series that gets rid of global >> state in a subsystem X will basically bubble up the global state into >> the next-higher level, and it's then the duty of the next patch series >> to address that next-higher level. >> >> The only exception of course is subsystems that already got rid of >> `the_repository` -- we really shouldn't reintroduce the use there. > > I agree that it should be fine to proceed like this. It limits the > complexity of the patches when we separate getting rid of > `the_repository` from getting rid of other global state.
I guess we are all in agreement that what was posted stops at a good point, leaving some for later updates. Unless there are any other outstanding issues, it may be a good time to declare victory. The "bool" in the log message for [5/8] must be corrected, though, so perhaps this topic is expecting a (hopefully small and final) reroll?
Thanks.