def write_line_messages(parsed_messages):
    """ Generate a line for each git commit message. """
    for message in parsed_messages:
        row = [message.hash_val, message.subject, message.message_body]
        yield row
