Browse Source

Merge branch 'jc/maint-format-patch' into maint

* jc/maint-format-patch:
  format-patch: show patch text for the root commit
maint
Junio C Hamano 16 years ago
parent
commit
5cb0f2745f
  1. 7
      builtin-log.c

7
builtin-log.c

@ -944,6 +944,13 @@ int cmd_format_patch(int argc, const char **argv, const char *prefix) @@ -944,6 +944,13 @@ int cmd_format_patch(int argc, const char **argv, const char *prefix)
* get_revision() to do the usual traversal.
*/
}

/*
* We cannot move this anywhere earlier because we do want to
* know if --root was given explicitly from the comand line.
*/
rev.show_root_diff = 1;

if (cover_letter) {
/* remember the range */
int i;

Loading…
Cancel
Save