MCPcopy Create free account
hub / github.com/git/git / git_use_proxy

Function git_use_proxy

connect.c:1001–1006  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

999}
1000
1001static int git_use_proxy(const char *host)
1002{
1003 git_proxy_command = getenv("GIT_PROXY_COMMAND");
1004 repo_config(the_repository, git_proxy_command_options, (void*)host);
1005 return (git_proxy_command && *git_proxy_command);
1006}
1007
1008static struct child_process *git_proxy_connect(int fd[2], char *host)
1009{

Callers 1

git_connect_gitFunction · 0.85

Calls 1

repo_configFunction · 0.70

Tested by

no test coverage detected