diff-tree: typefix.
Recent diff_tree_setup_paths() update made it take a second argument of type "struct diff_options", but we passed another struct that happenes to have that type at the beginning by mistake. Signed-off-by: Junio C Hamano <junkio@cox.net>
Junio C Hamano committed
Apr 15, 2006 at 03:22 UTC
5069b1cf6177f837830dd3ac402bee4f3d088fa5
1 file changed
+1
-1
diff-tree.c
+1
-1
@@ -120,7 +120,7 @@ int main(int argc, const char **argv)
120
if (opt->diffopt.output_format == DIFF_FORMAT_PATCH)
121
opt->diffopt.recursive = 1;
122
123
- diff_tree_setup_paths(get_pathspec(prefix, argv), opt);
123
+ diff_tree_setup_paths(get_pathspec(prefix, argv), &opt->diffopt);
124
diff_setup_done(&opt->diffopt);
125
126
switch (nr_sha1) {