Thread (43 messages) 43 messages, 3 authors, 2025-11-03

Re: [PATCH v4 16/29] sequencer: add trailers to message before writing file

From: Kristoffer Haugsbakk <hidden>
Date: 2025-10-14 20:44:11

On Tue, Oct 14, 2025, at 14:24, Li Chen wrote:
quoted hunk ↗ jump to hunk
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 <redacted>
---
 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]
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help