Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Merge branch 'sb/object-store-grafts' into sb/object-store-lookup
[gitweb.git]
/
builtin
/
reflog.c
diff --git
a/builtin/reflog.c
b/builtin/reflog.c
index bee4795a936ccf121fb7814daaf7ecff7c1dac0b..009119299529d5c93f02d5f8dc2363f6e29f0f9c 100644
(file)
--- a/
builtin/reflog.c
+++ b/
builtin/reflog.c
@@
-155,7
+155,7
@@
static int commit_is_complete(struct commit *commit)
for (i = 0; i < found.nr; i++) {
struct commit *c =
(struct commit *)found.objects[i].item;
- if (!tree_is_complete(
&c->tree->object.oid
)) {
+ if (!tree_is_complete(
get_commit_tree_oid(c)
)) {
is_incomplete = 1;
c->object.flags |= INCOMPLETE;
}