Skip to main content

Module interpret

Module interpret 

Source
Expand description

Parse and apply trailer commands.

Structs§

NewTrailerArg
NewTrailerArg struct.
ProcessTrailerOptions
ProcessTrailerOptions struct.

Enums§

TrailerIfExists
TrailerIfExists enum.
TrailerIfMissing
TrailerIfMissing enum.
TrailerWhere
Placement of a new trailer relative to an anchor trailer.

Functions§

complete_line
Complete stdin/file input with a trailing newline when missing (Git strbuf_complete_line).
process_trailers
Process a commit message: parse trailer block, apply config and --trailer args, emit result.
trailer_if_exists_from_str
Parse trailer.ifexists / --if-exists values.
trailer_if_missing_from_str
Parse trailer.ifmissing / --if-missing values.
trailer_where_from_str
Parse trailer.where / --where values (Git spelling).