{% extends "base.html" %}
{% block title %}{{repo|repo_name}} commit {{commit|short_id}} - {{config.site_name}}{% endblock %}
{% block content %}
{% include "repo-navbar.html" %}
Commit: {{commit.id()}} (tree)
{{self.refs()|safe}}
{% for parent_id in self.parent_ids() %}
Parent: {{parent_id}} (tree)
{% endfor %}
Author: {{commit.author()|ref|signature_email_link|safe}}
{% if commit.author().name() != commit.committer().name() || commit.author().email() != commit.committer().email() %}
Committer: {{commit.committer()|ref|signature_email_link|safe}}
{% endif %}
Date: {{commit.time()|format_datetime("%c %z")}}
{% let stats = diff.stats().unwrap() %}
{{stats.files_changed()}} files changed; {{stats.insertions()}} insertions {{stats.deletions()}} deletions
{{self.diff()|safe}}
{% endblock %}