Fix a warning.
PATCH 1/1 Fix a warning.
Signed-off-by Mike McCormack <[email protected]>
---
diff-tree.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
2fa977d19bee245aef86d9beb307d742111890d7
diff-tree.c +1 -1
@@ -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) {