blob: 82aace42087239f6bbb69a7cdc474a38501e53c1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
{% extends "git_wiki/base.html" %}
{% block stylesheets %}{{ block.super }}
<link rel="STYLESHEET" type="text/css" href="/static/style/pygments-default.css" />
{% endblock %}
{% block title %}Commit: {{ commit.committer_date}}
{% endblock %}
{% block gitwiki %} {% if commit %}
<b>Commit sha1 hash: </b>
<span class="hash">{{ commit.id }}</span><br />
<b>Parent sha1 hash: </b>
{% if commit.parenthash %}
<a href="/k/commit/{{ commit.parenthash }}/">
<span class="hash">{{ commit.parenthash }}</span></a>
{% else %}No parent... root commit?{% endif %}
<br />
<b>Tree sha1 hash: </b>
{% if commit.treehash %}
<span class="hash">{{ commit.treehash }}</span>
{% else %}No tree hash?{% endif %}
<br /><b>Author: </b>
{{ commit.author }}<br />
<b>Author Date: </b>
{{ commit.author_date }}<br />
<b>Committer: </b>
{{ commit.committer }}<br />
<b>Committer Date: </b>
{{ commit.committer_date }}<br />
{% if commit.pretty_diff %}
<pre class="large">{{ commit.pretty_diff}}</pre>
{% else %}
{% if commit.rawdiff %}
<pre class="large">{{ commit.rawdiff }}</pre>
{% else %}No difference?{% endif %}
{% endif %}
{% else %}
<h3>No such object: {{ hash }}</h3>
{% endif %} {% endblock %}
|