Since the `struct rev_info` is the responsible of holding the subject extra prefix string, copy to its `subject_extra_prefix` field the string provided by --subject-extra-prefix when calling `format-patch`. Signed-off-by: Lucas Seiki Oshiro <lucasseikioshiro@xxxxxxxxx> --- builtin/log.c | 1 + 1 file changed, 1 insertion(+) diff --git a/builtin/log.c b/builtin/log.c index 52dc0301cf..034ad44ef0 100644 --- a/builtin/log.c +++ b/builtin/log.c @@ -2205,6 +2205,7 @@ int cmd_format_patch(int argc, rev.reroll_count = reroll_count; } + rev.subject_extra_prefix = extra_prefix; rev.subject_prefix = cfg.sprefix.buf; for (i = 0; i < cfg.extra_hdr.nr; i++) { -- 2.39.5 (Apple Git-154)