From: Robert Coup Date: Thu, 09 Jan 2025 12:08:20 GMT Subject: Re: [PATCH v2 5/5] remote: announce removal of "branches/" and "remotes/" Message-ID: In-Reply-To: Hi Patrick, On Wed, 8 Jan 2025 at 06:36, Patrick Steinhardt wrote: > > 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 :)