cmd_push: pass "flags" pointer to config callback
[gitweb.git] / builtin / push.c
index 1e7ac8db33accce66af008459fbcbd8d070eb9f1..bba22b86b9b660d6b8bac62a303c07a3dff862d1 100644 (file)
@@ -522,7 +522,7 @@ int cmd_push(int argc, const char **argv, const char *prefix)
        };
 
        packet_trace_identity("push");
-       git_config(git_push_config, NULL);
+       git_config(git_push_config, &flags);
        argc = parse_options(argc, argv, prefix, options, push_usage, 0);
 
        if (deleterefs && (tags || (flags & (TRANSPORT_PUSH_ALL | TRANSPORT_PUSH_MIRROR))))