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 /builtin | |
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 'builtin')
-rw-r--r-- | builtin/am.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/builtin/am.c b/builtin/am.c index 4e396c8321..919bd91b0f 100644 --- a/builtin/am.c +++ b/builtin/am.c @@ -1653,7 +1653,7 @@ static int fall_back_threeway(const struct am_state *state, const char *index_pa init_revisions(&rev_info, NULL); rev_info.diffopt.output_format = DIFF_FORMAT_NAME_STATUS; - diff_opt_parse(&rev_info.diffopt, &diff_filter_str, 1); + diff_opt_parse(&rev_info.diffopt, &diff_filter_str, 1, rev_info.prefix); add_pending_sha1(&rev_info, "HEAD", our_tree, 0); diff_setup_done(&rev_info.diffopt); run_diff_index(&rev_info, 1); |