NULL
};
-int diff_no_index(struct repository *r,
- struct rev_info *revs,
+int diff_no_index(struct rev_info *revs,
int implicit_no_index,
int argc, const char **argv)
{
};
struct option *options;
- /*
- * FIXME: --no-index should not look at index and we should be
- * able to pass NULL repo. Maybe later.
- */
- repo_diff_setup(r, &revs->diffopt);
options = parse_options_concat(no_index_options,
revs->diffopt.parseopts);
argc = parse_options(argc, argv, revs->prefix, options,