From 3a663fd9842aaa9e232ab43a811d11f1d7f0b7bc Mon Sep 17 00:00:00 2001 From: Junio C Hamano Date: Wed, 27 Apr 2005 16:25:59 -0700 Subject: [PATCH] diff-tree -p implies diff-tree -p -r 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 Signed-off-by: Linus Torvalds --- diff-tree.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/diff-tree.c b/diff-tree.c index cbea28d6ea..5a1ad34652 100644 --- a/diff-tree.c +++ b/diff-tree.c @@ -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")) { -- cgit v1.2.3