]> git.ipfire.org Git - thirdparty/git.git/blobdiff - connect.c
config: add ctx arg to config_fn_t
[thirdparty/git.git] / connect.c
index 3a0186280c439a12fa6564ff9965cf284fb214d3..cddac1d96b8ee8d25a340b9847bd38b36cbadf19 100644 (file)
--- a/connect.c
+++ b/connect.c
@@ -964,7 +964,7 @@ static struct child_process *git_tcp_connect(int fd[2], char *host, int flags)
 static char *git_proxy_command;
 
 static int git_proxy_command_options(const char *var, const char *value,
-               void *cb)
+               const struct config_context *ctx, void *cb)
 {
        if (!strcmp(var, "core.gitproxy")) {
                const char *for_pos;
@@ -1010,7 +1010,7 @@ static int git_proxy_command_options(const char *var, const char *value,
                return 0;
        }
 
-       return git_default_config(var, value, cb);
+       return git_default_config(var, value, ctx, cb);
 }
 
 static int git_use_proxy(const char *host)