treewide: deprecate git_config_maybe_bool, use git_parse_maybe_bool
[gitweb.git] / builtin / remote.c
index 5339ed6ad17bb0c83e05d3e60d654c4f0632ee50..ecd7b3a8cc554197330a0bba556e806c8e9a2ed6 100644 (file)
@@ -300,7 +300,7 @@ static int config_read_branches(const char *key, const char *value, void *cb)
                        }
                        string_list_append(&info->merge, xstrdup(value));
                } else {
-                       int v = git_config_maybe_bool(orig_key, value);
+                       int v = git_parse_maybe_bool(value);
                        if (v >= 0)
                                info->rebase = v;
                        else if (!strcmp(value, "preserve"))