projects
/
git.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f252281
)
format-patch: fix diff format option implementation
author
Junio C Hamano
<junkio@cox.net>
Thu, 29 Jun 2006 07:18:52 +0000
(
00:18
-0700)
committer
Junio C Hamano
<junkio@cox.net>
Thu, 29 Jun 2006 07:19:36 +0000
(
00:19
-0700)
The updates forgot to make the diff go recursive.
builtin-log.c
patch
|
blob
|
history
diff --git
a/builtin-log.c
b/builtin-log.c
index debddb97a09eba5ba926087f76ebd6da0e258e86..bcd4e5e161d4f8a315aebb8f741b0a1b9870cb71 100644
(file)
--- a/
builtin-log.c
+++ b/
builtin-log.c
@@
-179,7
+179,8
@@
int cmd_format_patch(int argc, const char **argv, char **envp)
rev.diff = 1;
rev.combine_merges = 0;
rev.ignore_merges = 1;
- rev.diffopt.msg_sep = "---\n";
+ rev.diffopt.msg_sep = "";
+ rev.diffopt.recursive = 1;
git_config(git_format_config);
rev.extra_headers = extra_headers;