diff options
| author | Li Chen <chenl311@chinatelecom.cn> | 2025-11-05 22:29:44 +0800 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2025-11-06 09:45:00 -0800 |
| commit | 036e2d476c8513037baeb8d627dcbb416417ae02 (patch) | |
| tree | 1ff2a1555d25a724e8f2ac047feb586fcba454aa /string-list.c | |
| parent | trailer: append trailers in-process and drop the fork to `interpret-trailers` (diff) | |
| download | git-036e2d476c8513037baeb8d627dcbb416417ae02.tar.gz git-036e2d476c8513037baeb8d627dcbb416417ae02.zip | |
rebase: support --trailer
Implement a new `--trailer <text>` option for `git rebase`
(support merge backend only now), which appends arbitrary
trailer lines to each rebased commit message.
Reject it if the user passes an option that requires the
apply backend (git am) since it lacks message‑filter/trailer
hook. otherwise we can just use the merge backend.
Automatically set REBASE_FORCE when any trailer is supplied.
And reject invalid input before user edits the interactive file.
Signed-off-by: Li Chen <chenl311@chinatelecom.cn>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'string-list.c')
0 files changed, 0 insertions, 0 deletions
