aboutsummaryrefslogtreecommitdiffstats
path: root/diff-no-index.c
diff options
context:
space:
mode:
authorLi Chen <chenl311@chinatelecom.cn>2025-11-05 22:29:44 +0800
committerJunio C Hamano <gitster@pobox.com>2025-11-06 09:45:00 -0800
commit036e2d476c8513037baeb8d627dcbb416417ae02 (patch)
tree1ff2a1555d25a724e8f2ac047feb586fcba454aa /diff-no-index.c
parenttrailer: append trailers in-process and drop the fork to `interpret-trailers` (diff)
downloadgit-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 'diff-no-index.c')
0 files changed, 0 insertions, 0 deletions