1 [% INCLUDE 'commit-nav.tt2' object = commit %]
2 <div class='commit-message'>
3 [% commit.comment.substr(0, 50) %] ...
4 [% FOREACH ref IN c.model('Git').refs_for(commit.sha1) %]
5 <span class='refs'><a href='/shortlog?h=[% commit.sha1 %];hb=[% ref %]'>[% ref %]</a></span>
9 <dl class='commit-info'>
11 <dd>[% commit.author.name %] <[% commit.author.email %]><br/>
12 [% commit.authored_time %]</dd>
14 <dd>[% commit.committer.name %] <[% commit.committer.email %]><br/>
15 [% commit.committed_time %]</dd>
17 <dd>[% commit.sha1 %]</dd>
19 <dd>[% commit.tree_sha1 %] <a href="/tree?h=[% commit.sha1 %];hb=[% commit.tree_sha1 %]">tree</a></dd>
20 [% FOREACH parent IN commit.parents %]
22 <dd>[% parent %] <a href="/commit?h=[% commit.sha1 %]">commit</a></dd>
26 <pre class='commit-message'>[% commit.comment %]</pre>
28 <table class='diff-tree'>
34 [% FOREACH line IN c.model('Git').diff_tree(commit) %]
36 <td class='filename'>[% line.src %]</td>
37 <td class='action-list'>
38 [% IF !line.is_new %]<a href="/blobdiff?p=[% project %];f=[% line.file %];h=[% line.sha1dst %];hp=[% sha1src %]">diff</a>[% END %]
39 <a href="/blob?p=[% project %];f=[% line.file %];h=[% line.sha1 %];hb=[% commit.sha1 %]">blob</a>
40 [% IF !line.is_new %]<a href="/log?p=[% project %];f=[% line.file %];hb[% commit.sha1 %]=">history</a>[% END %]
53 $Git_PurePerl_Object_Commit1 = bless( {
55 email => 'broq@cpan.org',
57 }, 'Git::PurePerl::Actor' ),
62 comment => 'The blob action now has simple (but functioning) syntax highlighting (thanks to jrockway\'s Angerwhale for the highlighting code).',
69 email => 'broq@cpan.org',
71 }, 'Git::PurePerl::Actor' ),
72 content => "tree 278387038d3a42dcc9b3b33d6809c71371caee90\nparent b222ff0a7260cc1777c".
73 "7e455dfcaf22551a512fc\nauthor broquaint <broq\@cpan.org> 1256204829 +0100\n".
74 "committer broquaint <broq\@cpan.org> 1256204829 +0100\n\nThe blob action no".
75 "w has simple (but functioning) syntax highlighting (thanks to jrockway's".
76 " Angerwhale for the highlighting code).\n",
90 loose => bless( { directory => {
98 } }, 'Git::PurePerl::Loose' ),
100 fh => bless( do{ require Symbol; Symbol::gensym }, 'IO::File' ),
113 file => 'pack-76da0c32a0a4918d1828d110636caad32af6ec6c.pack',
118 fh => bless( Symbol::gensym, 'IO::File' ),
130 file => 'pack-76da0c32a0a4918d1828d110636caad32af6ec6c.idx',
146 }, 'Git::PurePerl::PackIndex::Version2' ),
159 file => 'pack-76da0c32a0a4918d1828d110636caad32af6ec6c.idx',
163 }, 'Git::PurePerl::Pack::WithIndex' ) ]
164 }, 'Git::PurePerl' ),
167 => 'b222ff0a7260cc1777c7e455dfcaf22551a512fc',
168 parents => [ 'b222ff0a7260cc1777c7e455dfcaf22551a512fc' ],
169 sha1 => '7e54e579e196c6c545fee1030175f65a111039d4',
172 => '278387038d3a42dcc9b3b33d6809c71371caee90'
173 }, 'Git::PurePerl::Object::Commit' );
174 $Git_PurePerl_Object_Commit1->{committed_time}{locale} = $Git_PurePerl_Object_Commit1->{authored_time}{locale};
175 bless( $Git_PurePerl_Object_Commit1->{authored_time}, 'DateTime' );
176 bless( $Git_PurePerl_Object_Commit1->{committed_time}, 'DateTime' );
177 bless( $Git_PurePerl_Object_Commit1->{git}{directory}, 'Path::Class::Dir' );
178 bless( $Git_PurePerl_Object_Commit1->{git}{gitdir}, 'Path::Class::Dir' );
179 bless( $Git_PurePerl_Object_Commit1->{git}{loose}{directory}, 'Path::Class::Dir' );
180 bless( $Git_PurePerl_Object_Commit1->{git}{packs}[0]{filename}{dir}, 'Path::Class::Dir' );
181 bless( $Git_PurePerl_Object_Commit1->{git}{packs}[0]{filename}, 'Path::Class::File' );
182 bless( $Git_PurePerl_Object_Commit1->{git}{packs}[0]{index}{filename}{dir}, 'Path::Class::Dir' );
183 bless( $Git_PurePerl_Object_Commit1->{git}{packs}[0]{index}{filename}, 'Path::Class::File' );
184 bless( $Git_PurePerl_Object_Commit1->{git}{packs}[0]{index_filename}{dir}, 'Path::Class::Dir' );
185 bless( $Git_PurePerl_Object_Commit1->{git}{packs}[0]{index_filename}, 'Path::Class::File' );