{% extends "base.html" %} {% block tab_history_selected -%}selected{% endblock -%} {% block content %}
commit:{{commit.full_hash}}
author:{{commit.author.name}} <{{commit.author.email}}>
committer:{{commit.committer.name}} <{{commit.committer.email}}>
date:{{ts_to_git_timestamp(ts=commit.ts_utc, tz=commit.ts_offset)}}
parents:{% for parent in commit.parents -%}{% if loop.index0 > 0 -%}, {%endif-%}{% if parent in commit_ids -%}{{parent}}{%else-%}{{parent}}{%endif-%}{%-endfor-%}
{{commit.message}}
{% if commit.diff -%} {% for file in commit.diff.files -%}
diff --git a/{{file.basefile}} b/{{file.basefile}}
line changes: +{{file.additions}}/-{{file.deletions}}
index {{file.oldid | truncate(length=7,end="")}}..{{file.newid | truncate(length=7,end="")}}
--- {{file.oldfile}}
+++ {{file.newfile}}
{% for hunk in file.hunks -%}
{{hunk.context}}
{%- for line in hunk.lines -%}
{{line.prefix}}{{line.text}}
{%- endfor -%}
{% endfor -%}
{% endfor -%} {% endif -%}
{% endblock content %}