115e1726ced4615cd1e04c1a080f3730eefcf326
[catagits/Gitalist.git] / templates / commit.tt2
1 [% INCLUDE 'commit-nav.tt2' object = commit %]
2
3 <div class='commit-message'>
4 [% commit.comment.substr(0, 85) %] ...
5 [% FOREACH ref IN branches_on %]
6  <span class='refs'><a href='/shortlog?h=[% commit.sha1 %];hb=[% ref %]'>[% ref %]</a></span>
7 [% END %]
8 </div>
9
10 <dl class='commit-info'>
11  <dt>author</dt>
12   <dd>[% commit.author.name | html %] &lt;[% commit.author.email %]&gt;<br/>
13       [% commit.authored_time %]</dd>
14  <dt>committer</dt>
15   <dd>[% commit.committer.name %] &lt;[% commit.committer.email %]&gt;<br/>
16       [% commit.committed_time %]</dd>
17  <dt>commit</dt>
18   <dd>[% commit.sha1 %]</dd>
19  <dt>tree</dt>
20   <dd>[% commit.tree_sha1 %] <a href="/tree?h=[% commit.sha1 %];hb=[% commit.tree_sha1 %]">tree</a></dd>
21  [% FOREACH parent IN commit.parents %]
22  <dt>parent</dt>
23   <dd>[% parent %] <a href="/commit?h=[% commit.sha1 %]">commit</a></dd>
24  [% END %]
25 </dl>
26
27 <pre class='commit-message'>[% commit.comment %]</pre>
28
29 [% INCLUDE '_diff_tree.tt2' %]
30
31 <!--
32
33 $Git_PurePerl_Object_Commit1 = bless( {
34                                  author   => bless( {
35                                                email => 'broq@cpan.org',
36                                                name  => 'broquaint'
37                                              }, 'Git::PurePerl::Actor' ),
38                                  authored_time
39                                           => {
40                                                DateTime
41                                              },
42                                  comment  => 'The blob action now has simple (but functioning) syntax highlighting (thanks to jrockway\'s Angerwhale for the highlighting code).',
43                                  committed_time
44                                           => {
45                                                DateTime
46                                              },
47                                  committer
48                                           => bless( {
49                                                email => 'broq@cpan.org',
50                                                name  => 'broquaint'
51                                              }, 'Git::PurePerl::Actor' ),
52                                  content  => "tree 278387038d3a42dcc9b3b33d6809c71371caee90\nparent b222ff0a7260cc1777c".
53         "7e455dfcaf22551a512fc\nauthor broquaint <broq\@cpan.org> 1256204829 +0100\n".
54         "committer broquaint <broq\@cpan.org> 1256204829 +0100\n\nThe blob action no".
55         "w has simple (but functioning) syntax highlighting (thanks to jrockway's".
56         " Angerwhale for the highlighting code).\n",
57                                  git      => bless( {
58                                                directory => {
59                                                               dirs     => [ '.' ],
60                                                               file_spec_class
61                                                                        => undef,
62                                                               volume   => ''
63                                                             },
64                                                gitdir    => {
65                                                               dirs     => [ '.git' ],
66                                                               file_spec_class
67                                                                        => undef,
68                                                               volume   => ''
69                                                             },
70                                                loose     => bless( { directory => {
71                                                               dirs     => [
72                                                                             '.git',
73                                                                             'objects'
74                                                                           ],
75                                                               file_spec_class
76                                                                        => undef,
77                                                               volume   => ''
78                                                             } }, 'Git::PurePerl::Loose' ),
79                                                packs     => [ bless( {
80                                                               fh      => bless( do{ require Symbol; Symbol::gensym }, 'IO::File' ),
81                                                               filename
82                                                                       => {
83                                                                            dir     => {
84                                                                                         dirs     => [
85                                                                                                       '.git',
86                                                                                                       'objects',
87                                                                                                       'pack'
88                                                                                                     ],
89                                                                                         file_spec_class
90                                                                                                  => undef,
91                                                                                         volume   => ''
92                                                                                       },
93                                                                            file    => 'pack-76da0c32a0a4918d1828d110636caad32af6ec6c.pack',
94                                                                            file_spec_class
95                                                                                    => undef
96                                                                          },
97                                                               index   => bless( {
98                                                                            fh       => bless( Symbol::gensym, 'IO::File' ),
99                                                                            filename => {
100                                                                                          dir     => {
101                                                                                                       dirs     => [
102                                                                                                                     '.git',
103                                                                                                                     'objects',
104                                                                                                                     'pack'
105                                                                                                                   ],
106                                                                                                       file_spec_class
107                                                                                                                => undef,
108                                                                                                       volume   => ''
109                                                                                                     },
110                                                                                          file    => 'pack-76da0c32a0a4918d1828d110636caad32af6ec6c.idx',
111                                                                                          file_spec_class
112                                                                                                  => undef
113                                                                                        },
114                                                                            offsets  => [
115                                                                                          ( 0 ) x 23,
116                                                                                          ( 1 ) x 29,
117                                                                                          ( 2 ) x 11,
118                                                                                          ( 3 ) x 6,
119                                                                                          ( 4 ) x 22,
120                                                                                          ( 5 ) x 51,
121                                                                                          ( 6 ) x 78,
122                                                                                          ( 7 ) x 3,
123                                                                                          ( 8 ) x 34
124                                                                                        ],
125                                                                            size     => 8
126                                                                          }, 'Git::PurePerl::PackIndex::Version2' ),
127                                                               index_filename
128                                                                       => {
129                                                                            dir     => {
130                                                                                         dirs     => [
131                                                                                                       '.git',
132                                                                                                       'objects',
133                                                                                                       'pack'
134                                                                                                     ],
135                                                                                         file_spec_class
136                                                                                                  => undef,
137                                                                                         volume   => ''
138                                                                                       },
139                                                                            file    => 'pack-76da0c32a0a4918d1828d110636caad32af6ec6c.idx',
140                                                                            file_spec_class
141                                                                                    => undef
142                                                                          }
143                                                             }, 'Git::PurePerl::Pack::WithIndex' ) ]
144                                              }, 'Git::PurePerl' ),
145                                  kind     => 'commit',
146                                  parent_sha1
147                                           => 'b222ff0a7260cc1777c7e455dfcaf22551a512fc',
148                                  parents  => [ 'b222ff0a7260cc1777c7e455dfcaf22551a512fc' ],
149                                  sha1     => '7e54e579e196c6c545fee1030175f65a111039d4',
150                                  size     => 328,
151                                  tree_sha1
152                                           => '278387038d3a42dcc9b3b33d6809c71371caee90'
153                                }, 'Git::PurePerl::Object::Commit' );
154 $Git_PurePerl_Object_Commit1->{committed_time}{locale} = $Git_PurePerl_Object_Commit1->{authored_time}{locale};
155 bless( $Git_PurePerl_Object_Commit1->{authored_time}, 'DateTime' );
156 bless( $Git_PurePerl_Object_Commit1->{committed_time}, 'DateTime' );
157 bless( $Git_PurePerl_Object_Commit1->{git}{directory}, 'Path::Class::Dir' );
158 bless( $Git_PurePerl_Object_Commit1->{git}{gitdir}, 'Path::Class::Dir' );
159 bless( $Git_PurePerl_Object_Commit1->{git}{loose}{directory}, 'Path::Class::Dir' );
160 bless( $Git_PurePerl_Object_Commit1->{git}{packs}[0]{filename}{dir}, 'Path::Class::Dir' );
161 bless( $Git_PurePerl_Object_Commit1->{git}{packs}[0]{filename}, 'Path::Class::File' );
162 bless( $Git_PurePerl_Object_Commit1->{git}{packs}[0]{index}{filename}{dir}, 'Path::Class::Dir' );
163 bless( $Git_PurePerl_Object_Commit1->{git}{packs}[0]{index}{filename}, 'Path::Class::File' );
164 bless( $Git_PurePerl_Object_Commit1->{git}{packs}[0]{index_filename}{dir}, 'Path::Class::Dir' );
165 bless( $Git_PurePerl_Object_Commit1->{git}{packs}[0]{index_filename}, 'Path::Class::File' );
166 -->