Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
diff-tree: typefix.
author
Junio C Hamano
<junkio@cox.net>
Sat, 15 Apr 2006 10:22:00 +0000
(
03:22
-0700)
committer
Junio C Hamano
<junkio@cox.net>
Sat, 15 Apr 2006 10:22:00 +0000
(
03:22
-0700)
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>
diff-tree.c
patch
|
blob
|
history
raw
|
patch
| inline |
side by side
(parent:
42b5c78
)
diff --git
a/diff-tree.c
b/diff-tree.c
index 2b79dd0a68c30343d74e3e82c056fef6a355e82e..7015b06c7f13dd71b7b557bd1c903065add33714 100644
(file)
--- 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->diff
opt);
diff_setup_done(&opt->diffopt);
switch (nr_sha1) {