{# Changes of one commit: the planned work it carried out (archived tasks, folded), then one top line to pick the file (select, or ‹ › to step), its lines below. #} {% if planned %}
Planned work {{ planned | length }} task{{ "s" if planned | length > 1 }}, archived after the commit
{% for task in planned %}

{{ task.title }} {{ task.plan }}{% if task.feature and task.feature != task.title %} · {{ task.feature }}{% endif %}

{% if task.criteria %}
    {% for criterion in task.criteria %}
  • {{ "☑" if criterion.done else "☐" }} {{ criterion.text }}
  • {% endfor %}
{% endif %} {% if task.annotations %}

Annotations

    {% for text in task.annotations %}
  • {{ text }}
  • {% endfor %}
{% endif %} {% if task.evidence %}

Evidence

    {% for text in task.evidence %}
  • {{ text }}
  • {% endfor %}
{% endif %}
{% endfor %}
{% endif %} {% if not files %}

This commit changed no files.

{% else %}
{% set first = files[0] %} {{ first.status }} +{{ first.additions }} −{{ first.deletions }} 1 / {{ files | length }}
{% for file in files %}
{% if file.old_path %}

renamed from {{ file.old_path }}

{% endif %} {% if file.binary %}

Binary file: no lines to show.

{% elif not file.lines %}

No changed lines (only the mode or the name changed).

{% else %} {% for line in file.lines %} {% if line.kind == "hunk" %} {% else %} {% endif %} {% endfor %}
{{ line.text }}
{{ line.old if line.old is not none }} {{ line.new if line.new is not none }} {{ "+" if line.kind == "add" else ("−" if line.kind == "delete" else " ") }}{{ line.text }}
{% if file.truncated %}

Diff cut: this file has more changed lines than shown.

{% endif %} {% endif %}
{% endfor %} {% endif %}