summaryrefslogtreecommitdiff
path: root/http-fetch.c
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <junkio@cox.net>2005-09-09 14:48:54 -0700
committerLibravatar Junio C Hamano <junkio@cox.net>2005-09-09 14:48:54 -0700
commita9ab586a5db015d200dfdadcf5876d62f15dd36c (patch)
tree7631ead8e5869cad95d4e4c8e33415508335b7a5 /http-fetch.c
parentAdjust .gitignore for big rename. (diff)
downloadtgif-a9ab586a5db015d200dfdadcf5876d62f15dd36c.tar.xz
Retire support for old environment variables.
We have deprecated the old environment variable names for quite a while and now it's time to remove them. Gone are: SHA1_FILE_DIRECTORIES AUTHOR_DATE AUTHOR_EMAIL AUTHOR_NAME COMMIT_AUTHOR_EMAIL COMMIT_AUTHOR_NAME SHA1_FILE_DIRECTORY Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'http-fetch.c')
-rw-r--r--http-fetch.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/http-fetch.c b/http-fetch.c
index df99ba7cfd..4e564fc453 100644
--- a/http-fetch.c
+++ b/http-fetch.c
@@ -355,7 +355,7 @@ int main(int argc, char **argv)
curl = curl_easy_init();
- curl_ssl_verify = gitenv("GIT_SSL_NO_VERIFY") ? 0 : 1;
+ curl_ssl_verify = getenv("GIT_SSL_NO_VERIFY") ? 0 : 1;
curl_easy_setopt(curl, CURLOPT_SSL_VERIFYPEER, curl_ssl_verify);
#if LIBCURL_VERSION_NUM >= 0x070907
curl_easy_setopt(curl, CURLOPT_NETRC, CURL_NETRC_OPTIONAL);