Skip to content

Commit 5cb0f27

Browse files
committed
Merge branch 'jc/maint-format-patch' into maint
* jc/maint-format-patch: format-patch: show patch text for the root commit
2 parents d4029d3 + 68c2ec7 commit 5cb0f27

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

builtin-log.c

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -944,6 +944,13 @@ int cmd_format_patch(int argc, const char **argv, const char *prefix)
944944
* get_revision() to do the usual traversal.
945945
*/
946946
}
947+
948+
/*
949+
* We cannot move this anywhere earlier because we do want to
950+
* know if --root was given explicitly from the comand line.
951+
*/
952+
rev.show_root_diff = 1;
953+
947954
if (cover_letter) {
948955
/* remember the range */
949956
int i;

0 commit comments

Comments
 (0)