Re: [PATCH 09/10] tree: stop using the_repository
- From
Patrick Steinhardt <ps@pks.im>
- Date
- Jan 12, 2026, 15:28 UTC
- Message-ID
- <aWUTNU7WGTwHt6Ks@pks.im>
- In-Reply-To
- <xmqqms2in9hb.fsf@gitster.g>
On Mon, Jan 12, 2026 at 07:20:32AM -0800, Junio C Hamano wrote:
Show 21 quoted lines
> Patrick Steinhardt <ps@pks.im> writes: > > >> > In any case, I'd propose to move the compatibility macros into a section > >> > that says something like: > >> > > >> > /* Deprecated wrappers that will be removed once Git 2.53 is released. */ > >> > >> Please do not take release schedule hostage to one particular fix-up > >> series of patches. Thanks. > > > > The intent isn't really to take anything hostage. It's rather intended > > as a hint that once a specific event has happened, we should take > > another look at removing these wrappers. > > I am OK with a comment that records the intent, e.g., "let's work > towards reducing the use of these wrappers", with the plan for the > next step, e.g., "and once we have done so, remove these." > > But the comment you wrote is forcing people to make sure we remove > the code that uses these wrappers and unless we finish it we cannot > release 2.53, no?
That's definitely not my intent. It's really only intended as a hint when those should be removed at the earliest. Maybe something like the following instead?
/*
* These wrappers can be removed once Git 2.53 is released. If you
* see this comment and that release has been published then chances
* are high that we forgot to remove them.
*/Patrick