Skip to content

Commit 363df55

Browse files
pcloudsgitster
authored andcommitted
line-log.c: remove the_repository reference
Signed-off-by: Nguyễn Thái Ngọc Duy <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent ffc00a4 commit 363df55

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

line-log.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -479,7 +479,7 @@ static struct commit *check_single_commit(struct rev_info *revs)
479479
struct object *obj = revs->pending.objects[i].item;
480480
if (obj->flags & UNINTERESTING)
481481
continue;
482-
obj = deref_tag(the_repository, obj, NULL, 0);
482+
obj = deref_tag(revs->repo, obj, NULL, 0);
483483
if (obj->type != OBJ_COMMIT)
484484
die("Non commit %s?", revs->pending.objects[i].name);
485485
if (commit)

0 commit comments

Comments
 (0)