Browse Source

format-patch: fix diff format option implementation

The updates forgot to make the diff go recursive.
maint
Junio C Hamano 19 years ago
parent
commit
27e1b127f3
  1. 3
      builtin-log.c

3
builtin-log.c

@ -179,7 +179,8 @@ int cmd_format_patch(int argc, const char **argv, char **envp) @@ -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;

Loading…
Cancel
Save