Skip to content

Commit

Permalink
Merge branch 'jc/maint-format-patch'
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 18, 2009
2 parents 33256e6 + 68c2ec7 commit cd1dbd3
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 @@ -936,6 +936,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 cd1dbd3

Please sign in to comment.