]> git.ipfire.org Git - thirdparty/git.git/blobdiff - alloc.c
Merge branch 'ab/pager-exit-log'
[thirdparty/git.git] / alloc.c
diff --git a/alloc.c b/alloc.c
index 99fa934b32c4b6626988644982d03009e167b83e..957a0af3626432b0c9c2dd1301f20c4ff339a0a4 100644 (file)
--- a/alloc.c
+++ b/alloc.c
@@ -114,8 +114,6 @@ void init_commit_node(struct commit *c)
 {
        c->object.type = OBJ_COMMIT;
        c->index = alloc_commit_index();
-       c->graph_pos = COMMIT_NOT_FROM_GRAPH;
-       c->generation = GENERATION_NUMBER_INFINITY;
 }
 
 void *alloc_commit_node(struct repository *r)