{% set file_id = group_name + ":" + file.path %}
{{ '▼' if file.expanded else '▶' }}
{%- if file.status == 'renamed' and file.old_path -%} {{ file.old_path }} → {{ file.path }} {%- else -%} {{ file.path }} {%- endif -%}
{%- if file.status == 'renamed' %}moved{%- else %}{{ file.status }}{%- endif %}
{% if file.additions > 0 %} +{{ file.additions }} {% endif %} {% if file.deletions > 0 %} -{{ file.deletions }} {% endif %}
{% if not file.hunks or file.hunks|length == 0 %}
📄

No diff content available

(Binary file, untracked, or no changes)

{% else %} {% for hunk in file.hunks %} {% include "diff_hunk.html" with context %} {% endfor %} {% endif %}