commit-graph write: add progress output
[gitweb.git] / builtin / gc.c
index 57069442b0dc1297366e29b1fbf0e6ee70377146..06ddd3aea5e6bdb6224ff20c6224a185e583e717 100644 (file)
@@ -646,7 +646,8 @@ int cmd_gc(int argc, const char **argv, const char *prefix)
                clean_pack_garbage();
 
        if (gc_write_commit_graph)
-               write_commit_graph_reachable(get_object_directory(), 0);
+               write_commit_graph_reachable(get_object_directory(), 0,
+                                            !daemonized);
 
        if (auto_gc && too_many_loose_objects())
                warning(_("There are too many unreachable loose objects; "