{% extends "layout.html" %} {% block title %}branches · {{ owner.username }}/{{ repo.name }} — kitgit{% endblock %} {% block content %}

{{ owner.username }}/{{ repo.name }} · branches & tags

{% let tab = "branches" %} {% let archive_ref = repo.default_branch %} {% include "partials/repo_tabs.html" %} {% if let Some(err) = error %}
{{ err }}
{% endif %}

Branches

{% if branches.is_empty() %}

No branches.

{% else %} {% for b in branches %} {% endfor %}
branch updated vs {{ repo.default_branch }} pull
{{ b.name }} {% if b.is_default %}default{% endif %} {{ b.updated }} {% if b.is_default %} — {% else %} {% if b.ahead > 0 %}{{ b.ahead }} ahead{% endif %} {% if b.ahead > 0 && b.behind > 0 %} · {% endif %} {% if b.behind > 0 %}{{ b.behind }} behind{% endif %} {% if b.ahead == 0 && b.behind == 0 %}even{% endif %} {% endif %} {% if let Some(n) = b.pull_number %} #{{ n }} {% else %} {% endif %} {% if access.can_write() && !b.is_default %}
{% endif %}
{% endif %}

Tags

{% if access.can_write() %}
{% endif %} {% if tags.is_empty() %}

No tags.

{% else %} {% for t in tags %} {% endfor %}
tag commit message updated
{{ t.name }} {% if t.has_release %} release {% endif %} {{ t.short_id }} {{ t.message }} {{ t.updated }} {% if access.can_write() %}
{% endif %}
{% endif %}
{% endblock %}