Skip to content

Commit

Permalink
diff-tree: typefix.
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Junio C Hamano committed Apr 15, 2006
1 parent 42b5c78 commit 5069b1c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion diff-tree.c
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 5069b1c

Please sign in to comment.