Module description_util

Source

Structs§

ParsedBulkEditMessage
TempTextEditError
TextEditor
Configured text editor.

Enums§

ParseBulkEditMessageError
TextEditError

Functions§

add_trailers
Add the trailers from templates.commit_trailers in the last paragraph of the description
add_trailers_with_template
Add the trailers from the given template in the last paragraph of the description
combine_messages_for_editing
Produces a combined description with “JJ: “ comment lines.
description_template
Renders commit description template, which will be edited by user.
edit_description
edit_multiple_descriptions
Edits the descriptions of the given commits in a single editor session.
join_message_paragraphs
Create a description from a list of paragraphs.
parse_trailers_template
Parse the commit trailers template from the configuration
try_combine_messages
Combines the descriptions from the input commits. If only one is non-empty, then that one is used.