commit-graph: release strbufs after use
[gitweb.git] / upload-pack.c
index d098ef598289d16956309cb73d4518a92c1206af..b51bed21e4059b63d304fdd34f9777bb6810adf7 100644 (file)
@@ -717,7 +717,7 @@ static void deepen_by_rev_list(struct packet_writer *writer, int ac,
 {
        struct commit_list *result;
 
-       close_commit_graph(the_repository);
+       close_commit_graph(the_repository->objects);
        result = get_shallow_commits_by_rev_list(ac, av, SHALLOW, NOT_SHALLOW);
        send_shallow(writer, result);
        free_commit_list(result);