From: Junio C Hamano Date: Wed, 27 Apr 2005 23:25:59 +0000 (-0700) Subject: [PATCH] diff-tree -p implies diff-tree -p -r X-Git-Tag: v0.99~719 X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=3a663fd9842aaa9e232ab43a811d11f1d7f0b7bc;p=git.git [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 --git a/diff-tree.c b/diff-tree.c index cbea28d6..5a1ad346 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")) {