diff options
Diffstat (limited to 'diff-no-index.c')
-rw-r--r-- | diff-no-index.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/diff-no-index.c b/diff-no-index.c index 8edc6f3690..95057b7a7f 100644 --- a/diff-no-index.c +++ b/diff-no-index.c @@ -254,7 +254,8 @@ void diff_no_index(struct rev_info *revs, else if (!strcmp(argv[i], "--")) i++; else { - j = diff_opt_parse(&revs->diffopt, argv + i, argc - i); + j = diff_opt_parse(&revs->diffopt, argv + i, argc - i, + revs->prefix); if (j <= 0) die("invalid diff option/value: %s", argv[i]); i += j; |