Re: [PATCH v2 5/5] remote: announce removal of "branches/" and "remotes/"
- From
Robert Coup <robert.coup@koordinates.com>
- Date
- Jan 9, 2025, 12:08 UTC
- Message-ID
- <CAFLLRpKk2qq3nZSz1XWotrt5W=6b6HfHevFQJ_UfMYbhOqRi1Q@mail.gmail.com>
- In-Reply-To
- <Z34c3rj0E6hP_kHN@pks.im>
Hi Patrick,
On Wed, 8 Jan 2025 at 06:36, Patrick Steinhardt <ps@pks.im> wrote:
Show 11 quoted lines
> > On Tue, Jan 07, 2025 at 11:55:16AM -0500, rsbecker@nexbridge.com wrote: > > > I like this but wonder whether there might be some way to inhibit the > > warnings one a user gets it and decides they will act but do not want > > to see the warnings any longer? I have had requests like this on other > > products. Just a thought. > > I guess the best idea I have here is to use an environment variable, > e.g. "GIT_ALLOW_DEPRECATED_REMOTES=true", along with a hint for how to > enable it.
Since there will hopefully be several of these deprecated behaviours as 3.0 comes closer, rather than adding a tonne of variables should it be a consistent method of silencing warnings? eg: "GIT_IGNORE_DEPRECATION_WARNINGS=remotes:splines:llamas". And/or achieving it via config settings.
Rob :)