Skip to content

Commit 3a663fd

Browse files
Junio C HamanoLinus Torvalds
authored andcommitted
[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 <junkio@cox.net> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
1 parent ce9be4e commit 3a663fd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

diff-tree.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -269,7 +269,7 @@ int main(int argc, char **argv)
269269
continue;
270270
}
271271
if (!strcmp(arg, "-p")) {
272-
generate_patch = 1;
272+
recursive = generate_patch = 1;
273273
continue;
274274
}
275275
if (!strcmp(arg, "-z")) {

0 commit comments

Comments
 (0)