X-Git-Url: http://git.ipfire.org/?a=blobdiff_plain;f=line-log.c;h=24e21731c4315f414578b33178a7b784176bb24d;hb=33de80b1d50773f79e380eff33b4fc5c8ae1dd25;hp=d1d429d73818cf4ef47b3e9e64c1e39489200be5;hpb=590e5b88ece260559b3489321040e4bbbb0f878b;p=thirdparty%2Fgit.git diff --git a/line-log.c b/line-log.c index d1d429d738..24e21731c4 100644 --- a/line-log.c +++ b/line-log.c @@ -479,7 +479,7 @@ static struct commit *check_single_commit(struct rev_info *revs) struct object *obj = revs->pending.objects[i].item; if (obj->flags & UNINTERESTING) continue; - obj = deref_tag(the_repository, obj, NULL, 0); + obj = deref_tag(revs->repo, obj, NULL, 0); if (obj->type != OBJ_COMMIT) die("Non commit %s?", revs->pending.objects[i].name); if (commit)