diff options
author | Duy Nguyen <pclouds@gmail.com> | 2016-01-21 18:48:44 +0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2016-01-21 10:45:13 -0800 |
commit | a97262c62f1a31fcc7edf7629d313058bc7d66b5 (patch) | |
tree | 96f459828c6adbb05998b7fca180fef22bf41a7f /revision.c | |
parent | e5f7a5d16f2c890e7dda96e5681ee8f6687b45e4 (diff) | |
download | git-a97262c62f1a31fcc7edf7629d313058bc7d66b5.tar.gz |
diff: make -O and --output work in subdirectorynd/diff-with-path-params
Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'revision.c')
-rw-r--r-- | revision.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/revision.c b/revision.c index e0107738b7..47e38b6c46 100644 --- a/revision.c +++ b/revision.c @@ -2049,7 +2049,7 @@ static int handle_revision_opt(struct rev_info *revs, int argc, const char **arg } else if (!strcmp(arg, "--ignore-missing")) { revs->ignore_missing = 1; } else { - int opts = diff_opt_parse(&revs->diffopt, argv, argc); + int opts = diff_opt_parse(&revs->diffopt, argv, argc, revs->prefix); if (!opts) unkv[(*unkc)++] = arg; return opts; |