{% import "macros/link.html" as link %}{% extends "repo/base.html" %}{% block head %}<link rel="stylesheet" type="text/css" href="/highlight-{{ crate::HIGHLIGHT_CSS_HASH.get().unwrap() }}.css" /><link rel="stylesheet" type="text/css" href="/highlight-dark-{{ crate::DARK_HIGHLIGHT_CSS_HASH.get().unwrap() }}.css" />{%- endblock %}{% block commit_nav_class %}active{% endblock %}{% block content %}<div class="table-responsive"><table class="commit-info"><tbody><tr><th>author</th><td>{{ commit.get().author().name() }} <{{ commit.get().author().email() }}></td><td>{{ commit.get().author().time() }}</td></tr><tr><th>committer</th><td>{{ commit.get().committer().name() }} <{{ commit.get().committer().email() }}></td><td>{{ commit.get().committer().time() }}</td></tr><tr><th>commit</th><td colspan="2"><pre><a href="/{{ repo.display() }}/commit?id={{ commit.get().oid() }}{% call link::maybe_branch_suffix(branch) %}" class="no-style">{{ commit.get().oid() }}</a> <a href="/{{ repo.display() }}/patch?id={{ commit.get().oid() }}">[patch]</a></pre></td></tr><tr><th>tree</th><td colspan="2"><pre><a href="/{{ repo.display() }}/tree?id={{ commit.get().tree() }}{% call link::maybe_branch_suffix(branch) %}" class="no-style">{{ commit.get().tree() }}</a></pre></td></tr>{%- for parent in commit.get().parents() %}<tr><th>parent</th><td colspan="2"><pre><a href="/{{ repo.display() }}/commit?id={{ parent }}{% call link::maybe_branch_suffix(branch) %}" class="no-style">{{ parent }}</a></pre></td></tr>{%- endfor %}<tr><th>download</th><td colspan="2"><pre><a href="/{{ repo.display() }}/snapshot?{% if let Some(id) = id %}id={{ id }}{% else %}h={{ dl_branch }}{% endif %}">{{ id.as_deref().unwrap_or(dl_branch.as_ref()) }}.tar.gz</a></pre></td></tr></tbody></table></div><h2>{{ commit.get().summary() }}</h2><pre>{{ commit.get().body() }}</pre><h3>Diff</h3><pre class="diff">{{ commit.diff_stats|safe }}{{ commit.diff|safe }}</pre>{% endblock %}