{% extends "base.html" %} {% block title %}{{ page_title }} · tit{% endblock %} {% block content %}

{{ owner }}/{{ repository }}

{% include "repository-nav.html" %}
{% if has_head && page_kind != "summary" %}

Browse tree · Show commit · Download archive

{% endif %} {% if page_kind == "summary" %} {% if has_head %} {% endif %}
{% if has_head %}
{% for item in entries %} {% endfor %}
NameTypeObject
{{ item.name }} {{ item.kind }} {{ item.id|short_id }}
{% if entries_truncated %}

View all files

{% endif %}
{% else %}

This repository has no commits.

{% endif %}
{% if has_readme %}

{{ readme_path }}

{% if readme_binary %}

Binary README content cannot be shown.

{% else %}
{{ readme_html|safe }}
{% endif %}
{% endif %} {% endif %} {% if page_kind == "commits" %}

All commits

{% if has_head %}
    {% for item in history %}
  1. {{ item.id|short_id }} {{ item.summary }} — {{ item.author_name }}
  2. {% endfor %}
{% if has_previous_page || has_next_page %} {% endif %} {% else %}

This repository has no commits.

{% endif %} {% endif %} {% if page_kind == "refs" %}

Refs

{% for item in refs %} {% endfor %}
NameTargetDetails
{{ item.name }} {{ item.target|short_id }} {% if item.symbolic != "" %}→ {{ item.symbolic }}{% endif %}{% if item.peeled != "" %}peeled {{ item.peeled|short_id }}{% endif %}
{% endif %} {% if page_kind == "tree" %}

Tree{% if path != "" %}: {{ path }}{% endif %}

{% for item in entries %} {% endfor %}
ModeTypeNameObject
{{ item.mode }}{{ item.kind }} {{ item.name }} {{ item.id|short_id }}
{% endif %} {% if page_kind == "blob" %}

Blob: {{ path }}

Raw · Blame

{% if blob_binary %}

Binary content cannot be shown. Use the raw link to download it.

{% else %}
{{ blob_content }}
{% endif %} {% endif %} {% if page_kind == "commit" %}

Commit {{ commit.id|short_id }}

Download patch

Author
{{ commit.author_name }} <{{ commit.author_email }}>
Committed
Tree
{{ commit.tree|short_id }}
{% for parent in commit.parents %}
Parent
{{ parent|short_id }} · Diff
{% endfor %}
{{ commit.message }}
{% endif %} {% if page_kind == "diff" %}

Diff

{{ secondary_id|short_id }}{{ commit_id|short_id }}

{% for file in diffs %}

{{ file.path }}

Mode {{ file.old_mode }}{{ file.new_mode }}; object {{ file.old_id|short_id }}{{ file.new_id|short_id }}

{% if file.binary %}

Binary content changed.

{% else %}
{{ file.hunks }}
{% endif %}
{% endfor %} {% endif %} {% if page_kind == "blame" %}

Blame: {{ path }}

Blob · Raw

{% if blob_binary %}

Binary content cannot be blamed.

{% else %}
    {% for item in blame %}
  1. {{ item.commit_id|short_id }} current lines {{ item.start_line }}–{{ item.current_end_line }}; source lines {{ item.source_start_line }}–{{ item.source_end_line }}{% if item.source_path != "" %} from {{ item.source_path }}{% endif %}
    {{ item.content }}
  2. {% endfor %}
{% endif %} {% endif %} {% if page_kind == "search" %}

Source search

{% if has_head %}
{% if search_done %}

Scanned {{ search_files }} files and {{ search_bytes }} bytes. Found {{ search_matches.len() }} matching lines.{% if search_truncated %} More results exist. Refine the search text.{% endif %}

    {% for item in search_matches %}
  1. {{ item.path }}:{{ item.line_number }}
    {{ item.line }}
  2. {% endfor %}
{% endif %} {% else %}

This repository has no commits to search.

{% endif %} {% endif %} {% endblock %}