Li Chen <me@linux.beauty> writes: > From: Li Chen <chenl311@xxxxxxxxxxxxxxx> > > 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.