Merge branch 'lc/rebase-trailer' into jch

"git rebase" learns "--trailer" command to drive the
interpret-trailers machinery.

Comments?

* lc/rebase-trailer:
  rebase: support --trailer
  commit, tag: parse --trailer with OPT_STRVEC
  trailer: append trailers without fork/exec
  trailer: libify a couple of functions
  interpret-trailers: refactor create_in_place_tempfile()
  interpret-trailers: factor trailer rewriting
This commit is contained in:
Junio C Hamano
2026-03-11 14:57:57 -07:00
11 changed files with 459 additions and 87 deletions

View File

@@ -497,6 +497,13 @@ See also INCOMPATIBLE OPTIONS below.
+
See also INCOMPATIBLE OPTIONS below.
--trailer=<trailer>::
Append the given trailer to every rebased commit message, processed
via linkgit:git-interpret-trailers[1]. This option implies
`--force-rebase`.
+
See also INCOMPATIBLE OPTIONS below.
-i::
--interactive::
Make a list of the commits which are about to be rebased. Let the
@@ -653,6 +660,7 @@ are incompatible with the following options:
* --[no-]reapply-cherry-picks when used without --keep-base
* --update-refs
* --root when used without --onto
* --trailer
In addition, the following pairs of options are incompatible: