• {% if config.show_sha %} {{ entry.sha[0:7] }} {% endif %} {% if config.show_headline %} {% if entry.integration_request is defined and entry.integration_request and config.show_integration_request_title_instead_of_headline %} {{entry.integration_request.uri}} {{entry.integration_request.title}} {% else %} {{ entry.subject }} {% endif %} {% endif %} {% if config.show_additions_deletions %} +{{calculate_total_additions(entry.numstat)}} -{{calculate_total_deletions(entry.numstat)}} {% endif %} {% if config.show_commit_date %} {{entry.commit_date.strftime("%B %d, %Y %H:%M:%S")}} {% endif %}

    {% if entry.integration_request is defined and entry.integration_request and config.show_integration_request_labels %} {% for label in entry.integration_request.labels %} {{label}} {% endfor %} {% endif %} {% if config.show_commit_author %}

    {{entry.author_name}}

    {% endif %} {% if entry.issues and config.show_issues %}

    {% for issue in entry.issues %} {% if issue.url %}{{issue.key}}{% else %}{{issue.key}}{% endif %}{{ ", " if not loop.last else "" }} {% endfor %}

    {% endif %} {% if entry.body and config.show_commit_body %} {% for line in entry.body.split('\n') %}

    {{ line }}

    {% endfor %} {% endif %} {% if entry.numstat and config.show_numstat %} {% for numstat_entry in entry.numstat %}

    +{{numstat_entry.additions}} -{{numstat_entry.deletions}} {{numstat_entry.path}}

    {% endfor %} {% endif %} {% if entry.other_parents and config.show_other_parents %} {% for entries in entry.other_parents %} {% include "change_log_entries.html" %} {% endfor %} {% endif %} {% if entry.submodule_updates and config.show_submodule_update %} {% for sub_update in entry.submodule_updates.values() %}

    {{ sub_update.path }}: {{ sub_update.from_sha[0:7] }} -> {{ sub_update.to_sha[0:7] }}

    {% if config.show_submodule_changelog %} {% with entries = sub_update.entries %} {% include "change_log_entries.html" %} {% endwith %} {% endif %} {% endfor %} {% endif %}