324
324
hooks = MessageEditorHooks()
328
328
"""Sets the commit message.
329
329
:param commit: Commit object for the active commit.
330
330
:return: The commit message or None to continue using the message editor
333
333
for hook in hooks['set_commit_message']:
337
337
def generate_commit_message_template(commit, start_message=None):
338
338
"""Generate a commit message template.