line-range.c: remove implicit dependency on the_index
[gitweb.git] / builtin / blame.c
index c2da673ac802b02609d54de3932fa8a2db221dbd..97632828db99610470c6f6f7d83cd8b073c2f9dc 100644 (file)
@@ -1001,7 +1001,7 @@ int cmd_blame(int argc, const char **argv, const char *prefix)
                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",