]> git.ipfire.org Git - thirdparty/git.git/blobdiff - upload-pack.c
upload-pack: disable commit graph more gently for shallow traversal
[thirdparty/git.git] / upload-pack.c
index 222cd3ad8960f352ee711915323ec1f36e5e7673..135bb3f6ccfb674c8306eb47ce37b22a0edcaba9 100644 (file)
@@ -722,7 +722,7 @@ static void deepen_by_rev_list(struct packet_writer *writer, int ac,
 {
        struct commit_list *result;
 
-       close_commit_graph(the_repository->objects);
+       disable_commit_graph(the_repository);
        result = get_shallow_commits_by_rev_list(ac, av, SHALLOW, NOT_SHALLOW);
        send_shallow(writer, result);
        free_commit_list(result);