{% extends "base.html" %}
{% block content %}
commit: {{commit.full_hash}}
author: {{commit.author.name}}
committer: {{commit.committer.name}}
parent: {% if commit.parents | length > 0 -%}{{commit.parents | first}}{%-endif-%}
{{commit.message}}
{% for file in commit.diff.files -%}
{{hunk.context}}
{%- for line in hunk.lines -%}
{%- if line.kind in ["del","add"] -%}{%- endif -%}
{{line.prefix}}{{line.text}}
{%- if line.kind in ["del","add"] -%}{%- endif -%}
{%- endfor -%}
{% endfor -%}
{% endfor -%}
{% endblock content %}