Skip to content

Commit

Permalink
Merge branch 'jc/maint-format-patch' into maint
Browse files Browse the repository at this point in the history
* jc/maint-format-patch:
  format-patch: show patch text for the root commit
  • Loading branch information
Junio C Hamano committed Jan 24, 2009
2 parents d4029d3 + 68c2ec7 commit 5cb0f27
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions builtin-log.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 5cb0f27

Please sign in to comment.