{% extends "base.html" %} {% block title %}{{ repo.name }} — {{ repo.description }}{% endblock %} {% block header %} {{ macros::header(Some(repo), branch_names, Some(current_ref)) }} {% endblock %} {% block tabs %} {{ macros::repo_tabs(repo, current_ref, query, "commit") }} {% endblock %} {% block content %} {% for parent in commit.parents %} {% endfor %} {% if let Some(branch) = commit.branch_name(repo)? %} {% else %} {% endif %}
author {{ commit.author.name }} <{{ commit.author.email }}> {{ commit.author.time.format() }}
committer {{ commit.committer.name }} <{{ commit.committer.email }}> {{ commit.committer.time.format() }}
commit {{ commit.id }} [patch]
tree {{ commit.id }}
parent {{ parent }}
download{{ branch }}.tar.gz{{ commit.id }}.tar.gz

{{ commit.summary()? }} {% if commit.is_head(repo)? %}HEAD{% endif %} {% for branch in commit.branch_tips(repo)? %} {{ branch }} {% endfor %}

{{ commit.body()? }}

Diffstat

{% for file_diff in diff.file_diffs %} {% endfor %}
{{ file_diff.mode }} {{ file_diff.path }} {{ file_diff.total }} {% if file_diff.total != 0 %} {% if file_diff.insertions_percentage > 0.0 %} {% endif %} {% if file_diff.deletions_percentage > 0.0 %} {% endif %} {% endif %}
{{ diff.stats }}
{{ diff.output|safe }}
{% endblock %}