Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
line-log.c: remove the_repository reference
author
Nguyễn Thái Ngọc Duy
<pclouds@gmail.com>
Sat, 10 Nov 2018 05:49:05 +0000
(06:49 +0100)
committer
Junio C Hamano
<gitster@pobox.com>
Mon, 12 Nov 2018 05:50:06 +0000
(14:50 +0900)
Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
line-log.c
patch
|
blob
|
history
raw
|
patch
| inline |
side by side
(parent:
ffc00a4
)
diff --git
a/line-log.c
b/line-log.c
index d1d429d73818cf4ef47b3e9e64c1e39489200be5..24e21731c4315f414578b33178a7b784176bb24d 100644
(file)
--- 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)