{% extends "repository/repository.html" %} {% block page_title %}Commit: {{ commit.id }}{% endblock %} {% block content %}
Author | {{ commit.author }} {{ commit_time(commit.author.time, commit.author.offset) }} |
Committer | {{ commit.committer }} {{ commit_time(commit.committer.time, commit.committer.offset) }} |
Commit ID | {{ commit.id }} |
Tree | {{ commit.tree.id }} |
Parent(s) | {% for parent in commit.parents %} {{ parent.short_id }} {% endfor %} |
± | {{ diff.stats.files_changed }} files changed, {{ diff.stats.insertions }} insertions, {{ diff.stats.deletions }} deletions |
-{{ patch.line_stats[2] }}/+{{ patch.line_stats[1] }} {% if patch.delta.status == 1 %} A {{ patch.delta.new_file.path }} {% endif %} {% if patch.delta.status == 2 %} D {{ patch.delta.old_file.path }} {% endif %} {% if patch.delta.status == 3 %} M {{ patch.delta.new_file.path }} {% endif %} {% if patch.delta.status == 4 %} R {{ patch.delta.old_file.path }} -> {{ patch.delta.new_file.path }} {% endif %} {% if patch.delta.status == 5 %} C {{ patch.delta.old_file.path }} {{ patch.delta.new_file.path }} {% endif %} | |||
old size: {{ patch.delta.old_file.size|human_size(B=true) }} - new size: {{ patch.delta.new_file.size|human_size(B=true) }} | |||
{% if patch.delta.status == 1 %}
new file mode: {{ patch.delta.new_file.mode|filemode }}
{% elif patch.delta.status == 2 %}
deleted file mode: {{ patch.delta.old_file.mode|filemode }}
{% elif patch.delta.old_file.mode != patch.delta.new_file.mode %}
old mode: {{ patch.delta.old_file.mode|filemode }}
new mode: {{ patch.delta.new_file.mode|filemode }} {% endif %} |
|||
Binary file | |||
{{ hunk.header }} | |||
{% if line.old_lineno >= 0 %} {{ line.old_lineno }} {% endif %} | {% if line.new_lineno >= 0 %} {{ line.new_lineno }} {% endif %} | {{ line.origin }} | {{ line.content }} |