Re: [PATCH v2 5/5] remote: announce removal of "branches/" and "remotes/"

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

 



Hi Patrick,

On Wed, 8 Jan 2025 at 06:36, Patrick Steinhardt <ps@xxxxxx> wrote:
>
> On Tue, Jan 07, 2025 at 11:55:16AM -0500, rsbecker@xxxxxxxxxxxxx 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 :)




[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