treewide: deprecate git_config_maybe_bool, use git_parse_maybe_bool
[gitweb.git] / builtin / push.c
index 5c22e9f2e56b7d8049890e44f4c6fb63b16f8357..1410b66d0e1ed15f3bac8d7a41ccc1bf1f9840ac 100644 (file)
@@ -480,7 +480,7 @@ static int git_push_config(const char *k, const char *v, void *cb)
        } else if (!strcmp(k, "push.gpgsign")) {
                const char *value;
                if (!git_config_get_value("push.gpgsign", &value)) {
-                       switch (git_config_maybe_bool("push.gpgsign", value)) {
+                       switch (git_parse_maybe_bool(value)) {
                        case 0:
                                set_push_cert_flags(flags, SEND_PACK_PUSH_CERT_NEVER);
                                break;