summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 4e783b4)
raw | patch | inline | side by side (parent: 4e783b4)
author | Linus Torvalds <torvalds@osdl.org> | |
Tue, 7 Feb 2006 18:26:41 +0000 (10:26 -0800) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Tue, 7 Feb 2006 21:19:50 +0000 (13:19 -0800) |
The "--cc" implies "-p", but without the recursive part.
Linus
Signed-off-by: Junio C Hamano <junkio@cox.net>
Linus
Signed-off-by: Junio C Hamano <junkio@cox.net>
diff-tree.c | patch | blob | history |
diff --git a/diff-tree.c b/diff-tree.c
index f3280a13ee5254452da1aae93f4b6fb4a3bb8c3e..71483233481eca8b0a88bfa02beb5c1bc2396bb7 100644 (file)
--- a/diff-tree.c
+++ b/diff-tree.c
}
usage(diff_tree_usage);
}
- if (diff_options.output_format == DIFF_FORMAT_PATCH)
- diff_options.recursive = 1;
if (combine_merges) {
diff_options.output_format = DIFF_FORMAT_PATCH;
ignore_merges = 0;
}
+ if (diff_options.output_format == DIFF_FORMAT_PATCH)
+ diff_options.recursive = 1;
+
diff_tree_setup_paths(get_pathspec(prefix, argv));
diff_setup_done(&diff_options);