Skip to main content

Module trailers

Module trailers 

Source
Expand description

Commit trailers and interpretation helpers.

Modules§

interpret
Parse and apply trailer commands.

Functions§

append_cherry_picked_from_line
Append -x trailer matching sequencer.c (record_origin).
append_signoff_trailer
Append sign-off matching append_signoff in sequencer.c (no APPEND_SIGNOFF_DEDUP).
append_signoff_trailer_with_dedup
Append sign-off with optional APPEND_SIGNOFF_DEDUP (set by format-patch --signoff, which suppresses adding a sign-off that already exists anywhere in the trailer block, not just at the very end).
finalize_cherry_pick_message
Apply -x / -s rewriting plus optional commit.cleanup when -x is set.
format_signoff_line
Build Signed-off-by: Name <email>\n using the same identity resolution as cherry-pick.