1 [% INCLUDE 'commit-nav.tt2' %]
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'>
30 <table class='diff-tree'>
36 [% FOREACH line IN c.model('Git').diff_tree(commit) %]
38 <td class='filename'>[% line.src %]</td>
39 <td class='action-list'>
40 [% IF !line.is_new %]<a href="/blobdiff?f=[% line.file %];h=[% line.sha1dst %];hp=[% sha1src %]">diff</a>[% END %]
41 <a href="/blob?f=[% line.file %];h=[% line.sha1 %];hb=[% commit.sha1 %]">blob</a>
42 [% IF !line.is_new %]<a href="/log?f=[% line.file %];hb[% commit.sha1 %]=">history</a>[% END %]
55 $Git_PurePerl_Object_Commit1 = bless( {
57 email => 'broq@cpan.org',
59 }, 'Git::PurePerl::Actor' ),
64 comment => 'The blob action now has simple (but functioning) syntax highlighting (thanks to jrockway\'s Angerwhale for the highlighting code).',
71 email => 'broq@cpan.org',
73 }, 'Git::PurePerl::Actor' ),
74 content => "tree 278387038d3a42dcc9b3b33d6809c71371caee90\nparent b222ff0a7260cc1777c".
75 "7e455dfcaf22551a512fc\nauthor broquaint <broq\@cpan.org> 1256204829 +0100\n".
76 "committer broquaint <broq\@cpan.org> 1256204829 +0100\n\nThe blob action no".
77 "w has simple (but functioning) syntax highlighting (thanks to jrockway's".
78 " Angerwhale for the highlighting code).\n",
92 loose => bless( { directory => {
100 } }, 'Git::PurePerl::Loose' ),
102 fh => bless( do{ require Symbol; Symbol::gensym }, 'IO::File' ),
115 file => 'pack-76da0c32a0a4918d1828d110636caad32af6ec6c.pack',
120 fh => bless( Symbol::gensym, 'IO::File' ),
132 file => 'pack-76da0c32a0a4918d1828d110636caad32af6ec6c.idx',
148 }, 'Git::PurePerl::PackIndex::Version2' ),
161 file => 'pack-76da0c32a0a4918d1828d110636caad32af6ec6c.idx',
165 }, 'Git::PurePerl::Pack::WithIndex' ) ]
166 }, 'Git::PurePerl' ),
169 => 'b222ff0a7260cc1777c7e455dfcaf22551a512fc',
170 parents => [ 'b222ff0a7260cc1777c7e455dfcaf22551a512fc' ],
171 sha1 => '7e54e579e196c6c545fee1030175f65a111039d4',
174 => '278387038d3a42dcc9b3b33d6809c71371caee90'
175 }, 'Git::PurePerl::Object::Commit' );
176 $Git_PurePerl_Object_Commit1->{committed_time}{locale} = $Git_PurePerl_Object_Commit1->{authored_time}{locale};
177 bless( $Git_PurePerl_Object_Commit1->{authored_time}, 'DateTime' );
178 bless( $Git_PurePerl_Object_Commit1->{committed_time}, 'DateTime' );
179 bless( $Git_PurePerl_Object_Commit1->{git}{directory}, 'Path::Class::Dir' );
180 bless( $Git_PurePerl_Object_Commit1->{git}{gitdir}, 'Path::Class::Dir' );
181 bless( $Git_PurePerl_Object_Commit1->{git}{loose}{directory}, 'Path::Class::Dir' );
182 bless( $Git_PurePerl_Object_Commit1->{git}{packs}[0]{filename}{dir}, 'Path::Class::Dir' );
183 bless( $Git_PurePerl_Object_Commit1->{git}{packs}[0]{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' );
186 bless( $Git_PurePerl_Object_Commit1->{git}{packs}[0]{index_filename}{dir}, 'Path::Class::Dir' );
187 bless( $Git_PurePerl_Object_Commit1->{git}{packs}[0]{index_filename}, 'Path::Class::File' );