diff options
Diffstat (limited to 'diff-no-index.c')
-rw-r--r-- | diff-no-index.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/diff-no-index.c b/diff-no-index.c index a879f45..7814eab 100644 --- a/diff-no-index.c +++ b/diff-no-index.c @@ -239,8 +239,7 @@ static const char * const diff_no_index_usage[] = { 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) { @@ -255,11 +254,6 @@ int diff_no_index(struct repository *r, }; 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, |