Permalink
Browse files

Pass GIT_SSL_NO_VERIFY to git command execution

  • Loading branch information...
1 parent 1d184ef commit c625de91770df24c189c77d2e4bc821f2265efa8 @arikon arikon committed with luk- Nov 29, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/cache.js
View
@@ -564,7 +564,7 @@ function gitEnv () {
if (gitEnv_) return gitEnv_
gitEnv_ = {}
for (var k in process.env) {
- if (!~['GIT_PROXY_COMMAND','GIT_SSH'].indexOf(k) && k.match(/^GIT/)) continue
+ if (!~['GIT_PROXY_COMMAND','GIT_SSH','GIT_SSL_NO_VERIFY'].indexOf(k) && k.match(/^GIT/)) continue
gitEnv_[k] = process.env[k]
}
return gitEnv_

0 comments on commit c625de9

Please sign in to comment.