summaryrefslogtreecommitdiff
path: root/builtin/log.c
diff options
context:
space:
mode:
authorNguyễn Thái Ngọc Duy <pclouds@gmail.com>2018-09-21 15:57:30 (GMT)
committerJunio C Hamano <gitster@pobox.com>2018-09-21 16:48:11 (GMT)
commita7edadda593e34243c1cd3b3db750d502acf9b83 (patch)
treeb8cb124f21e0fbf64d405e4b68a3b41f888a7902 /builtin/log.c
parent7e196c3a28513225d48bd853846f5618419948c1 (diff)
downloadgit-a7edadda593e34243c1cd3b3db750d502acf9b83.zip
git-a7edadda593e34243c1cd3b3db750d502acf9b83.tar.gz
git-a7edadda593e34243c1cd3b3db750d502acf9b83.tar.bz2
patch-ids.c: remove implicit dependency on the_index
Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/log.c')
-rw-r--r--builtin/log.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/builtin/log.c b/builtin/log.c
index 4b60223..978fe7c 100644
--- a/builtin/log.c
+++ b/builtin/log.c
@@ -914,7 +914,7 @@ static void get_patch_ids(struct rev_info *rev, struct patch_ids *ids)
if ((flags1 & UNINTERESTING) == (flags2 & UNINTERESTING))
die(_("Not a range."));
- init_patch_ids(ids);
+ init_patch_ids(the_repository, ids);
/* given a range a..b get all patch ids for b..a */
init_revisions(&check_rev, rev->prefix);