Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
treewide: replace maybe_tree with accessor methods
[gitweb.git]
/
commit-graph.c
diff --git
a/commit-graph.c
b/commit-graph.c
index 49c622c5569f53edcc94e591892191067629a0a6..264aa6d919bc3df71d189ff5fbddfc46231499f9 100644
(file)
--- a/
commit-graph.c
+++ b/
commit-graph.c
@@
-369,7
+369,7
@@
static void write_graph_chunk_data(struct hashfile *f, int hash_len,
uint32_t packedDate[2];
parse_commit(*list);
- hashwrite(f,
(*list)->maybe_tree->object.oid.
hash, hash_len);
+ hashwrite(f,
get_commit_tree_oid(*list)->
hash, hash_len);
parent = (*list)->parents;