{% extends "base.html" %} {% block title %}Stack history for {{stack_name}}{% endblock %} {% block content %}

Stack history for {{stack_name}}

{% for (i, commit) in commits.iter().enumerate() %}
{{commit.oid[..7]}} ({{commit.author}})
{% for (file, lines) in commit.diff() %}

{{commit.message}}

{{file}} {% for line in lines %} {% match line.chars().next() %} {% when Some with ('+') %}
{{line}}
{% when Some with ('-') %}
{{line}}
{% when _ %}
{{line}}
{% endmatch %} {% endfor %}
{% endfor %}
{% if i == 0 %} {% else %}
{% endif %}
{% endfor %}
{% endblock %}