{% extends "base.html" %} {% from "_macros.html" import icon, avatar %} {% set tab = "commits" %} {% block title %}History · {{ repo.name }}{% endblock %} {% block repohead %}{% include "_repohead.html" %}{% endblock %} {% block content %}
{% if path %}{% endif %}
{% if path %}File history: {{ path }} (show all){% endif %} {{ count }} commit{{ '' if count == 1 else 's' }}
{% if not groups %}

No commits

{% endif %} {% for g in groups %}
Commits on {{ g.day }}
{% for c in g.commits %}
{{ avatar(c.author) }}
{{ c.title }} {% for t in tags_by_commit.get(c.id, []) %}🏷 {{ t }}{% endfor %}
{{ c.author or "?" }} · {{ c.time.split(" ")[1] }} {% if c.branch != ref %}{{ c.branch }}{% endif %} {% if c.file_change %}· file {{ {"added":"added","modified":"modified","deleted":"deleted"}[c.file_change] }}{% endif %}
{% if c.stats.added %}+{{ c.stats.added }} {% endif %} {% if c.stats.modified %}~{{ c.stats.modified }} {% endif %} {% if c.stats.deleted %}−{{ c.stats.deleted }} {% endif %} {% if c.stats.vi_changed %}· {{ c.stats.vi_changed }} VI{% endif %} {% if path and c.file_change == "modified" and not loop.last %} {% set prev = g.commits[loop.index] %} {% endif %} {% if path and c.file_change == "modified" and is_vi(path) %} VI diff {% endif %} {{ c.short }} </>
{% endfor %}
{% endfor %} {% endblock %}