{{ render_partial('partials/global_controls.html') }}
{% if not is_head_comparison and not untracked and groups.get('changes') %}
{% for file in groups['changes'].files %}
{% set group_name = 'changes' %}
{% include 'diff_file.html' with context %}
{% endfor %}
{% elif not untracked and groups.get('changes') %}
{% for file in groups['changes'].files %}
{% set group_name = 'changes' %}
{% include 'diff_file.html' with context %}
{% endfor %}
{% else %}
{% include "diff_groups.html" %}
{% endif %}