treewide: deprecate git_config_maybe_bool, use git_parse_maybe_bool
[gitweb.git] / builtin / send-pack.c
index 1ff5a6753803f8c2ccb5e66dcb926582bd25fd37..a3d68d60ab77e9248d5289c9158fa110ab0eb547 100644 (file)
@@ -104,7 +104,7 @@ static int send_pack_config(const char *k, const char *v, void *cb)
        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:
                                args.push_cert = SEND_PACK_PUSH_CERT_NEVER;
                                break;