Be better about recognizing HTTP_PROXY

This commit is contained in:
Simon Quigley 2025-01-26 16:59:50 -06:00
parent 2bdae98c7e
commit 64ffc1b9e4

View File

@ -443,11 +443,12 @@ void CiLogic::clone_or_fetch(const std::filesystem::path &repo_dir,
proxy = !found_no_proxy; proxy = !found_no_proxy;
} else { } else {
proxy = true; proxy = true;
}
proxy_opts.type = GIT_PROXY_SPECIFIED; proxy_opts.type = GIT_PROXY_SPECIFIED;
proxy_opts.url = tmp_proxy; proxy_opts.url = tmp_proxy;
} }
} }
}
git_repository* repo = nullptr; git_repository* repo = nullptr;
int error = git_repository_open(&repo, repo_dir.c_str()); int error = git_repository_open(&repo, repo_dir.c_str());