From: Lucas Seiki Oshiro Date: Mon, 03 Mar 2025 22:00:27 GMT Subject: [GSoC][RFC PATCH 4/6] builtin/log: fill subject extra prefix in format-patch Message-ID: <20250303220029.10716-5-lucasseikioshiro@gmail.com> In-Reply-To: <20250303220029.10716-1-lucasseikioshiro@gmail.com> 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 --- 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)