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