git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH v3 0/2] rebase: support --trailer

From
Li Chen <me@linux.beauty>
Date
Aug 4, 2025, 01:44 UTC
Message-ID
<19872c0a7f9.4f0ce123219344.1150677041521426116@linux.beauty>
In-Reply-To
<xmqq8qk0fjma.fsf@gitster.g>
Hi Junio,
 ---- On Mon, 04 Aug 2025 00:35:57 +0800  Junio C Hamano <gitster@pobox.com> wrote --- 
 > Li Chen <me@linux.beauty> writes:
 > 
 > > From: Li Chen <chenl311@chinatelecom.cn>
 > >
 > > This two-patch series teaches git rebase a new
 > > --trailer <text> option and, as a prerequisite, moves all trailer
 > > handling out of the external interpret-trailers helper and into the
 > > builtin code path, as suggested by Phillip Wood.
 > >
 > > Patch 1 switches trailer.c to an in-memory implementation
 > > (amend_strbuf_with_trailers()). It removes every fork/exec.
 > >
 > > Patch 2 builds on that helper to implement
 > > git rebase --trailer.
 > 
 > Try running "git show --check" on this commit.  My attempt found a
 > handful of whitespace breakages ("indent with spaces.").
 > 
 > Thanks.
 > 
 > 

That's a great tool, I wasn't aware of that command, and I will fix them in Next version. Thanks, Junio.

Regards, Li

Previous: Junio C Hamano
Message 15 of 15 in “rebase: support --trailer”
  1. 0/2 rebase: support --trailerLi Chen, Aug 3, 2025
  2. 1/2 trailer: append trailers in-process and drop the fork to `interpret-trailers`Li Chen, Aug 3, 2025
  3. Phillip WoodAug 5, 2025
  4. Li ChenAug 7, 2025
  5. Li ChenOct 21, 2025
  6. 2/2 rebase: support --trailerLi Chen, Aug 3, 2025
  7. Phillip WoodAug 5, 2025
  8. Phillip WoodAug 6, 2025
  9. Phillip WoodAug 6, 2025
  10. Li ChenAug 7, 2025
  11. Junio C HamanoAug 28, 2025
  12. Li ChenSep 18, 2025
  13. Li ChenAug 7, 2025
  14. Junio C HamanoAug 3, 2025
  15. Li ChenAug 4, 2025

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.