line-log.c: remove the_repository reference
Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
parent
ffc00a48ef
commit
363df5572c
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user