mirror of
https://github.com/git/git.git
synced 2024-11-18 03:03:55 +01:00
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>
This commit is contained in:
parent
42b5c78845
commit
5069b1cf61
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user