Signed-off-by: Mike McCormack <mike@xxxxxxxxxxxxxxx> --- diff-tree.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
2fa977d19bee245aef86d9beb307d742111890d7 diff --git a/diff-tree.c b/diff-tree.c index 2b79dd0..7015b06 100644 --- a/diff-tree.c +++ b/diff-tree.c @@ -120,7 +120,7 @@ int main(int argc, const char **argv) if (opt->diffopt.output_format == DIFF_FORMAT_PATCH) opt->diffopt.recursive = 1; - diff_tree_setup_paths(get_pathspec(prefix, argv), opt); + diff_tree_setup_paths(get_pathspec(prefix, argv), &opt->diffopt); diff_setup_done(&opt->diffopt); switch (nr_sha1) {