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:23 (GMT)
committerJunio C Hamano <gitster@pobox.com>2018-09-21 16:48:10 (GMT)
commit38bbc2ea39372ce1b7eb494b31948f4a8a903f88 (patch)
tree12f62127a9530fb5397cb5e36122590f8b47915e /builtin/log.c
parent6afaf807859bd671a3f8e9101952e648a1a5e1a9 (diff)
downloadgit-38bbc2ea39372ce1b7eb494b31948f4a8a903f88.zip
git-38bbc2ea39372ce1b7eb494b31948f4a8a903f88.tar.gz
git-38bbc2ea39372ce1b7eb494b31948f4a8a903f88.tar.bz2
grep.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 f32a07f..b620824 100644
--- a/builtin/log.c
+++ b/builtin/log.c
@@ -115,7 +115,7 @@ static int log_line_range_callback(const struct option *option, const char *arg,
static void init_log_defaults(void)
{
- init_grep_defaults();
+ init_grep_defaults(the_repository);
init_diff_ui_defaults();
decoration_style = auto_decoration_style();