Expand description
Cherry-pick / sign-off trailer handling compatible with Git’s sequencer.c and trailer.c.
Used when rewriting commit messages for cherry-pick -x / -s so spacing and trailer
detection match upstream tests (e.g. t3511-cherry-pick-x).
Functions§
- append_
cherry_ picked_ from_ line - Append
-xtrailer matchingsequencer.c(record_origin). - append_
signoff_ trailer - Append sign-off matching
append_signoffinsequencer.c(noAPPEND_SIGNOFF_DEDUP). - finalize_
cherry_ pick_ message - Apply
-x/-srewriting plus optionalcommit.cleanupwhen-xis set. - format_
signoff_ line - Build
Signed-off-by: Name <email>\nusing the same identity resolution as cherry-pick.