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 -%}
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 -%}
    {%- if line.kind in ["del","add"] -%}{%- endif -%}
    {{line.prefix}}{{line.text}}
    {%- if line.kind in ["del","add"] -%}{%- endif -%}
    {%- endfor -%}
    
{% endfor -%} {% endfor -%}