commit-graph: expire commit-graph files
[gitweb.git] / builtin / commit.c
index b9ea7222fae4d6caf0f7ab6f975179922f5e2293..b001ef565ddcb179a3696dac21ec023751313a7d 100644 (file)
@@ -1670,7 +1670,7 @@ int cmd_commit(int argc, const char **argv, const char *prefix)
                      "not exceeded, and then \"git reset HEAD\" to recover."));
 
        if (git_env_bool(GIT_TEST_COMMIT_GRAPH, 0) &&
-           write_commit_graph_reachable(get_object_directory(), 0, 0))
+           write_commit_graph_reachable(get_object_directory(), 0))
                return 1;
 
        repo_rerere(the_repository, 0);