Skip to content

Commit

Permalink
[PATCH] diff-tree -p implies diff-tree -p -r
Browse files Browse the repository at this point in the history
This makes diff-tree -p imply recursive behaviour.

Other commands in the family always takes a flat universe view
so this is not even needed.

Signed-off-by: Junio C Hamano <junkio@cox.net>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
  • Loading branch information
Junio C Hamano authored and Linus Torvalds committed Apr 27, 2005
1 parent ce9be4e commit 3a663fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion diff-tree.c
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,7 @@ int main(int argc, char **argv)
continue;
}
if (!strcmp(arg, "-p")) {
generate_patch = 1;
recursive = generate_patch = 1;
continue;
}
if (!strcmp(arg, "-z")) {
Expand Down

0 comments on commit 3a663fd

Please sign in to comment.