/
uis
/
git
/
x
/
uis
/
git
/
git.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
object: convert parse_object* to take struct object_id
[git/git.git]
/
builtin
/
reflog.c
diff --git
a/builtin/reflog.c
b/builtin/reflog.c
index
7e89e84
..
8f3f1bd
100644
(file)
--- a/
builtin/reflog.c
+++ b/
builtin/reflog.c
@@
-126,7
+126,7
@@
static int commit_is_complete(struct commit *commit)
struct commit_list *parent;
c = (struct commit *)study.objects[--study.nr].item;
struct commit_list *parent;
c = (struct commit *)study.objects[--study.nr].item;
- if (!c->object.parsed && !parse_object(
c->object.oid.hash
))
+ if (!c->object.parsed && !parse_object(
&c->object.oid
))
c->object.flags |= INCOMPLETE;
if (c->object.flags & INCOMPLETE) {
c->object.flags |= INCOMPLETE;
if (c->object.flags & INCOMPLETE) {