Parent
[>]
1{% extends "base.html" %} 2 3{% block title %}{{ sha[..8] }} - {{ repo }}{% endblock %} 4 5{% block breadcrumbs %} 6 7 {{ crate::hostname() }} 8 {{ repo }} 9 commits 10 {{ sha[..8] }} 11 12{% endblock %} 13 14{% block content %} 15{{ sha[..8] }} 16 17 18 Archive 19 20 {{ repo }}-{{ sha[..8] }}.tar.gztar.gz 21 {{ repo }}-{{ sha[..8] }}.tar.xztar.xz 22 {{ repo }}-{{ sha[..8] }}.zipzip 23 24 25 26 27 28 29 Tree 30 [{{ sha[..8] }}] 31 [>] 32 33 34 35{% if !refs.is_empty() %} 36 37 refs 38 {% for r in refs %}{{ r.name }}{% endfor %} 39 40{% endif %} 41 42 43 commit{{ sha }} 44 parent{% if parents.len() != 1 %}s{% endif %} 45 {% for (parent_sha, _) in parents %}{{ parent_sha }}{% endfor %} 46 author{{ author }} 47 date{{ date }} 48 49 50 51 committer{{ committer }} 52 date{{ committer_date }} 53 54 55{% if files_changed > 0 || lines_added > 0 || lines_removed > 0 %} 56 57 changes{{ files_changed }} 58 insertions{{ lines_added }} 59 deletions{{ lines_removed }} 60 61{% endif %} 62 63{% if !message.is_empty() %} 64{{ message }} 65{% endif %} 66 67{% if files_changed > 0 || lines_added > 0 || lines_removed > 0 %} 68 69{% for fc in file_changes %} 70 71 {{ fc.change_type }}{{ fc.path }} 72 {% if !fc.hunks.is_empty() %} 73 {% for hunk in fc.hunks %}{% for line in hunk %}{{ line.marker }}{{ line.content }}{% endfor %}{% endfor %} 74 {% endif %} 75 76{% endfor %} 77 78{% endif %} 79{% endblock %}