Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
l10n: fixes to German translation
[gitweb.git]
/
builtin
/
reflog.c
diff --git
a/builtin/reflog.c
b/builtin/reflog.c
index 6b34f23e782805159f3de5ff0dcfaac9db910adc..2067cca5b1ec4ed141a3e404cb7738c9b0ebc5d9 100644
(file)
--- a/
builtin/reflog.c
+++ b/
builtin/reflog.c
@@
-126,7
+126,7
@@
static int commit_is_complete(struct commit *commit)
struct commit *c;
struct commit_list *parent;
- c = (struct commit *)
study.objects[--study.nr].item
;
+ c = (struct commit *)
object_array_pop(&study)
;
if (!c->object.parsed && !parse_object(&c->object.oid))
c->object.flags |= INCOMPLETE;