Merge branch 'jn/mailmap-update'
[gitweb.git] / builtin / commit.c
index 37c0056a6eb0fad9afbe51c23f809a842b4636bb..3f33ae60430d5d0ba52a6956539b1dadbb10e309 100644 (file)
@@ -33,6 +33,7 @@
 #include "sequencer.h"
 #include "mailmap.h"
 #include "help.h"
+#include "commit-reach.h"
 #include "commit-graph.h"
 
 static const char * const builtin_commit_usage[] = {
@@ -1653,7 +1654,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);
+               write_commit_graph_reachable(get_object_directory(), 0, 0);
 
        rerere(0);
        run_command_v_opt(argv_gc_auto, RUN_GIT_CMD);