{% if config.show_sha %} {{ entry.sha[0:7] }} {% endif %} {% if config.show_headline %} {% if entry.pull_request is defined and entry.pull_request and config.show_pull_request_title_instead_of_headline %} {{entry.pull_request.repository.name_with_owner}}#{{entry.pull_request.number}} {{entry.pull_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 %I:%M:%S")}} {% 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.submodule_name }}: {{ 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 %}