]> git.ipfire.org Git - thirdparty/git.git/blobdiff - pager.c
treewide: deprecate git_config_maybe_bool, use git_parse_maybe_bool
[thirdparty/git.git] / pager.c
diff --git a/pager.c b/pager.c
index ae79643363091f4967097bdff6e009ea4c7df5e0..40347d4e22e4da8c13c5d53b2fc58149e1a3e380 100644 (file)
--- a/pager.c
+++ b/pager.c
@@ -226,7 +226,7 @@ static int pager_command_config(const char *var, const char *value, void *vdata)
        const char *cmd;
 
        if (skip_prefix(var, "pager.", &cmd) && !strcmp(cmd, data->cmd)) {
-               int b = git_config_maybe_bool(var, value);
+               int b = git_parse_maybe_bool(value);
                if (b >= 0)
                        data->want = b;
                else {