aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJunio C Hamano <junkio@cox.net>2006-04-15 03:22:00 -0700
committerJunio C Hamano <junkio@cox.net>2006-04-15 03:22:00 -0700
commit5069b1cf6177f837830dd3ac402bee4f3d088fa5 (patch)
tree731923369b7887e253e8b09ba5eb5f44789eda7b
parent42b5c78845feb44f1d36eecad4c72336d5c2a9c5 (diff)
downloadgit-5069b1cf6177f837830dd3ac402bee4f3d088fa5.tar.gz
git-5069b1cf6177f837830dd3ac402bee4f3d088fa5.tar.xz
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>
-rw-r--r--diff-tree.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/diff-tree.c b/diff-tree.c
index 2b79dd0a6..7015b06c7 100644
--- a/diff-tree.c
+++ b/diff-tree.c
@@ -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) {