Re: [PATCH v4 16/29] sequencer: add trailers to message before writing file
On Tue, Oct 14, 2025, at 14:24, Li Chen wrote:
Show 18 quoted lines
> Added trailer processing to the in-memory commit message
> within do_pick_commit, ensuring fixup/squash commands
> remain untouched before the message is written.
>
> Signed-off-by: Li Chen <chenl311@chinatelecom.cn>
> ---
> sequencer.c | 19 ++++++++-----------
> trailer.c | 4 ++--
> trailer.h | 3 +++
> 3 files changed, 13 insertions(+), 13 deletions(-)
>
> diff --git a/sequencer.c b/sequencer.c
> index 5103ae786c..552e629e4f 100644
> --- a/sequencer.c
> +++ b/sequencer.c
>[snip]
> -static int amend_strbuf_with_trailers(struct strbuf *buf,
> - const struct strvec *trailer_args)
Weird indentation. This looks like it needs clang-format.
> +int amend_strbuf_with_trailers(struct strbuf *buf,
> + const struct strvec *trailer_args)
> {
>[snip]