Be better about recognizing HTTP_PROXY
This commit is contained in:
parent
2bdae98c7e
commit
64ffc1b9e4
@ -443,11 +443,12 @@ void CiLogic::clone_or_fetch(const std::filesystem::path &repo_dir,
|
||||
proxy = !found_no_proxy;
|
||||
} else {
|
||||
proxy = true;
|
||||
}
|
||||
|
||||
proxy_opts.type = GIT_PROXY_SPECIFIED;
|
||||
proxy_opts.url = tmp_proxy;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
git_repository* repo = nullptr;
|
||||
int error = git_repository_open(&repo, repo_dir.c_str());
|
||||
|
Loading…
x
Reference in New Issue
Block a user