summaryrefslogtreecommitdiffstats
path: root/builtin
diff options
context:
space:
mode:
authorNguyễn Thái Ngọc Duy <pclouds@gmail.com>2018-09-21 17:57:34 +0200
committerJunio C Hamano <gitster@pobox.com>2018-09-21 18:51:18 +0200
commit80e03855413c7ac3727df572d44131656e467426 (patch)
tree87514672fd2398022cfe062d97c3a470c9e1399c /builtin
parentuserdiff.c: remove implicit dependency on the_index (diff)
downloadgit-80e03855413c7ac3727df572d44131656e467426.tar.xz
git-80e03855413c7ac3727df572d44131656e467426.zip
line-range.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')
-rw-r--r--builtin/blame.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/builtin/blame.c b/builtin/blame.c
index c2da673ac8..97632828db 100644
--- a/builtin/blame.c
+++ b/builtin/blame.c
@@ -1001,7 +1001,7 @@ parse_done:
long bottom, top;
if (parse_range_arg(range_list.items[range_i].string,
nth_line_cb, &sb, lno, anchor,
- &bottom, &top, sb.path))
+ &bottom, &top, sb.path, &the_index))
usage(blame_usage);
if ((!lno && (top || bottom)) || lno < bottom)
die(Q_("file %s has only %lu line",