Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
completion: drop the hard coded list of config vars
[gitweb.git]
/
builtin
/
reflog.c
diff --git
a/builtin/reflog.c
b/builtin/reflog.c
index a89bd1dd25252ddfe5ad6b32ee89950d3a4b258f..a48984d37e4f5f9e1f07a840582f82e202bd09f0 100644
(file)
--- a/
builtin/reflog.c
+++ b/
builtin/reflog.c
@@
-154,7
+154,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;
}