X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=templates%2Fcommit.tt2;fp=templates%2Fcommit.tt2;h=085e6156e32ef6a2ddff3cd232c83178125ccfd1;hb=1ef8dc7df4864b362033f4927652b04a84a7bfde;hp=ba02f4a5043e862d9fb909d1b09e17c975469d3d;hpb=109ce6685d0dfb9e6598da283b75c322bb062220;p=catagits%2FGitalist.git diff --git a/templates/commit.tt2 b/templates/commit.tt2 index ba02f4a..085e615 100644 --- a/templates/commit.tt2 +++ b/templates/commit.tt2 @@ -1,4 +1,161 @@ -

The commit says

-
+[% INCLUDE 'commit-nav.tt2' %]
+
[% commit.comment %] -
+[% FOREACH ref IN c.model('Git').refs_for(commit.sha1) %] + [% ref %] +[% END %] + + +
+
author
+
[% commit.author.name %] <[% commit.author.email %]>
+ [% commit.authored_time %]
+
committer
+
[% commit.committer.name %] <[% commit.committer.email %]>
+ [% commit.committed_time %]
+
commit
+
[% commit.sha1 %]
+
tree
+
[% commit.tree_sha1 %] tree
+ [% FOREACH parent IN commit.parents %] +
parent
+
[% parent %] commit
+ [% END %] +
+ +