Merge branch 'sr/gpg-interface-stop-at-the-end'
[gitweb.git] / builtin / gc.c
index be8e0bfcbe0a428f72c5762ff8a066baaefd2533..c18efadda53e54f0e80dbd16737e2d40f47fa16f 100644 (file)
@@ -687,7 +687,8 @@ int cmd_gc(int argc, const char **argv, const char *prefix)
 
        if (gc_write_commit_graph &&
            write_commit_graph_reachable(get_object_directory(),
-                                        !quiet && !daemonized ? COMMIT_GRAPH_PROGRESS : 0))
+                                        !quiet && !daemonized ? COMMIT_GRAPH_PROGRESS : 0,
+                                        NULL))
                return 1;
 
        if (auto_gc && too_many_loose_objects())