projects
/
git.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ce9be4e
)
[PATCH] diff-tree -p implies diff-tree -p -r
author
Junio C Hamano
<junkio@cox.net>
Wed, 27 Apr 2005 23:25:59 +0000
(16:25 -0700)
committer
Linus Torvalds
<torvalds@ppc970.osdl.org>
Wed, 27 Apr 2005 23:25:59 +0000
(16:25 -0700)
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>
diff-tree.c
patch
|
blob
|
history
diff --git
a/diff-tree.c
b/diff-tree.c
index
cbea28d
..
5a1ad34
100644
(file)
--- 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")) {