cache.h: flip NO_THE_INDEX_COMPATIBILITY_MACROS switch
[gitweb.git] / builtin / blame.c
index 6d798f99392e54b4392713846652111d457787bb..0074ed311c8b6c26770f62a668f51abda316ec46 100644 (file)
@@ -1007,7 +1007,8 @@ 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, &the_index))
+                                   &bottom, &top, sb.path,
+                                   the_repository->index))
                        usage(blame_usage);
                if ((!lno && (top || bottom)) || lno < bottom)
                        die(Q_("file %s has only %lu line",