X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=blobdiff_plain;f=git-clone.sh;h=0ea3c24f59e32055e4d514e55fe3a6f6be095f9c;hb=e2b7eaf0ca3897940961d23392d4ff718867ea9f;hp=5e582fe247892fa7dffc44556c939863c36edc35;hpb=58f6fb53dd1104559f6f5507562a975c0ff079af;p=git.git diff --git a/git-clone.sh b/git-clone.sh index 5e582fe24..0ea3c24f5 100755 --- a/git-clone.sh +++ b/git-clone.sh @@ -28,7 +28,8 @@ get_repo_base() { ) 2>/dev/null } -if [ -n "$GIT_SSL_NO_VERIFY" ]; then +if [ -n "$GIT_SSL_NO_VERIFY" -o \ + "`git config --bool http.sslVerify`" = false ]; then curl_extra_args="-k" fi