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

{{ owner }}/{{ repository }}

{% if page_kind == "summary" %}

Clone

HTTP
{{ http_clone_url }}
SSH
{{ ssh_clone_url }}
Object format
{{ object_format }}
Created
{% if has_head %}

Recent commits

    {% for item in history %}
  1. {{ item.id }} {{ item.summary }} — {{ item.author_name }}
  2. {% endfor %}
{% if has_readme %}

{{ readme_path }}

{% if readme_binary %}

Binary README content cannot be shown.

{% else %}
{{ readme_html|safe }}
{% endif %}
{% endif %} {% else %}

This repository has no commits.

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

Refs

{% for item in refs %} {% endfor %}
NameTargetDetails
{{ item.name }} {{ item.target }} {% if item.symbolic != "" %}→ {{ item.symbolic }}{% endif %}{% if item.peeled != "" %}peeled {{ item.peeled }}{% 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 }}
{% 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 }}

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

Diff

{{ secondary_id }}{{ commit_id }}

{% for file in diffs %}

{{ file.path }}

Mode {{ file.old_mode }}{{ file.new_mode }}; object {{ file.old_id }}{{ file.new_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 }} lines {{ item.source_start_line }}–{{ item.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 %}