line-range.h: drop extern from function declaration
[gitweb.git] / builtin / fsck.c
index ea5e2a03e6c882c674dbef9b3f6e99e93b552f64..c96f3f4fccea0bbd78e4fe1b09e5d8c51e302bb0 100644 (file)
@@ -830,7 +830,7 @@ int cmd_fsck(int argc, const char **argv, const char *prefix)
 
        check_connectivity();
 
-       if (core_commit_graph) {
+       if (!git_config_get_bool("core.commitgraph", &i) && i) {
                struct child_process commit_graph_verify = CHILD_PROCESS_INIT;
                const char *verify_argv[] = { "commit-graph", "verify", NULL, NULL, NULL };