Re: BUG: Value for GIT_SSL_NO_VERIFY has no effect
- From
brian m. carlson <sandals@crustytoothpaste.net>
- Date
- Sep 15, 2022, 13:04 UTC
- Message-ID
- <YyMi76Cy7KnfZFU4@tapette.crustytoothpaste.net>
- In-Reply-To
- <CACs=J2MLnawNF5mp19sCJAZADPenHjWVZvKW5rM1fwELHjqqyg@mail.gmail.com>
On 2022-09-15 at 01:46:50, Brijesh Patel wrote:
> Hi,
Hey,
> It appears that any value assigned to GIT_SSL_NO_VERIFY (true or > false) has no effect on the GIT operations. For testing purposes, we > have created a host entry for github.com and mapped it to foo.com.
This is definitely true. There are several Git environment variables that act this way, including GIT_CURL_VERBOSE, that check whether the environment is present or absent, not whether it's set to a particular value.
I believe this behaviour is by design (although other folks are free to correct me if they think I'e wrong).
-- brian m. carlson (he/him or they/them) Toronto, Ontario, CA