Skip to content

Commit 5069b1c

Browse files
author
Junio C Hamano
committed
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>
1 parent 42b5c78 commit 5069b1c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

diff-tree.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ int main(int argc, const char **argv)
120120
if (opt->diffopt.output_format == DIFF_FORMAT_PATCH)
121121
opt->diffopt.recursive = 1;
122122

123-
diff_tree_setup_paths(get_pathspec(prefix, argv), opt);
123+
diff_tree_setup_paths(get_pathspec(prefix, argv), &opt->diffopt);
124124
diff_setup_done(&opt->diffopt);
125125

126126
switch (nr_sha1) {

0 commit comments

Comments
 (0)