{% extends "base.html" %} {% block content %}

Commit

{% if owner_path is startingwith('/teams/') %} {{ owner_slug }} {% else %} {% with user_link_href = owner_path, user_link_username = owner_slug, user_link_label = owner_slug, user_link_class = "link-primary" %} {% include "partials/hover_card_user_link.html" %} {% endwith %} {% endif %} / {{ repo.slug }} / {{ short_id }}

{% set repo_tab = "files" %} {% set repo_tab_label = "Commits" %} {% set repo_tab_extra_href = repo_path ~ "/commit/" ~ commit_id ~ "/tree" %} {% set repo_tab_extra_label = "Tree (this commit)" %} {% include "partials/repo_tabs.html" %}
{{ message_title }}
{% if message_body %}
{{ message_body }}
{% endif %}
Author
{{ author }}
{{ author_email }}
Committed
{{ committed_at | humantime }}
SHA
{{ commit_id }}
{% if parent_ids | length > 0 %}
Parents
{% for parent in parent_ids %} {{ parent[:8] }} {% endfor %}
{% endif %}
{% with related_threads=linked_threads, related_threads_label="Referenced in threads" %} {% include "repo/partials/related_threads.html" %} {% endwith %} {% if diffs | length == 0 %}

No file changes to show.

{% else %}
{{ files_changed }} files changed, {{ insertions }} insertions(+), {{ deletions }} deletions(-)
{% for diff in diffs %} {% set diff_index = loop.index %}
{% if loop.first or diff.binary %} {% include "repo/commit_diff_body.html" %} {% else %}
Diff loads on expand.
{% endif %}
{% endfor %}
{% endif %}
{% endblock %}