{% extends "repo/base.html"%} {% block repo %}

{{ commit.message }}

{% if diff %} {% for patch in diff %}
{{ patch.path }}
{% for hunk in patch %}
@@ -{{ hunk.source_start }},{{ hunk.source_length }} +{{ hunk.target_start }},{{ hunk.target_length }} @@
{% if hunk.source %}
{{ hunk.source | join('')}}
{% else %}
No data
{% endif %}
{% if hunk.target %}
{{ hunk.target | join('') }}
{% else %}
No data
{% endif %}
{% endfor %}
{% endfor %} {% else %}

表示する差分はありません

{% endif %} {% endblock %}