mirror of
https://github.com/git/git
synced 2024-10-30 14:03:28 +00:00
Merge branch 'jc/maint-format-patch'
* jc/maint-format-patch: format-patch: show patch text for the root commit
This commit is contained in:
commit
cd1dbd37d9
1 changed files with 7 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue