1 <?xml version=
"1.0" encoding=
"iso-8859-1"?>
3 PUBLIC
"-//W3C//DTD XHTML 1.0 Transitional//EN"
4 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
6 <html xmlns=
"http://www.w3.org/1999/xhtml" xml:
lang=
"en" lang=
"en">
8 <title>Class: Git::Object::Commit
</title>
9 <meta http-equiv=
"Content-Type" content=
"text/html; charset=iso-8859-1" />
10 <meta http-equiv=
"Content-Script-Type" content=
"text/javascript" />
11 <link rel=
"stylesheet" href=
"../../.././rdoc-style.css" type=
"text/css" media=
"screen" />
12 <script type=
"text/javascript">
15 function popupCode( url ) {
16 window.open(url,
"Code",
"resizable=yes,scrollbars=yes,toolbar=no,status=no,height=150,width=400")
19 function toggleCode( id ) {
20 if ( document.getElementById )
21 elem = document.getElementById( id );
22 else if ( document.all )
23 elem = eval(
"document.all." + id );
27 elemStyle = elem.style;
29 if ( elemStyle.display !=
"block" ) {
30 elemStyle.display =
"block"
32 elemStyle.display =
"none"
38 // Make codeblocks hidden by default
39 document.writeln(
"<style type=\"text/css\
">div.method-source-code { display: none }</style>" )
49 <div id=
"classHeader">
50 <table class=
"header-table">
51 <tr class=
"top-aligned-row">
52 <td><strong>Class
</strong></td>
53 <td class=
"class-name-in-header">Git::Object::Commit
</td>
55 <tr class=
"top-aligned-row">
56 <td><strong>In:
</strong></td>
58 <a href=
"../../../files/lib/git/object_rb.html">
65 <tr class=
"top-aligned-row">
66 <td><strong>Parent:
</strong></td>
68 <a href=
"AbstractObject.html">
75 <!-- banner header -->
77 <div id=
"bodyContent">
81 <div id=
"contextContent">
87 <div id=
"method-list">
88 <h3 class=
"section-bar">Methods
</h3>
90 <div class=
"name-list">
91 <a href=
"#M000130">author
</a>
92 <a href=
"#M000131">author_date
</a>
93 <a href=
"#M000132">committer
</a>
94 <a href=
"#M000133">committer_date
</a>
95 <a href=
"#M000134">date
</a>
96 <a href=
"#M000135">diff_parent
</a>
97 <a href=
"#M000127">gtree
</a>
98 <a href=
"#M000126">message
</a>
99 <a href=
"#M000128">parent
</a>
100 <a href=
"#M000129">parents
</a>
118 <!-- if method_list -->
120 <h3 class=
"section-bar">Public Instance methods
</h3>
122 <div id=
"method-M000130" class=
"method-detail">
123 <a name=
"M000130"></a>
125 <div class=
"method-heading">
126 <a href=
"#M000130" class=
"method-signature">
127 <span class=
"method-name">author
</span><span class=
"method-args">()
</span>
131 <div class=
"method-description">
135 <p><a class=
"source-toggle" href=
"#"
136 onclick=
"toggleCode('M000130-source');return false;">[Source]
</a></p>
137 <div class=
"method-source-code" id=
"M000130-source">
139 <span class=
"ruby-comment cmt"># File lib/git/object.rb, line
143</span>
140 <span class=
"ruby-keyword kw">def
</span> <span class=
"ruby-identifier">author
</span>
141 <span class=
"ruby-identifier">check_commit
</span>
142 <span class=
"ruby-ivar">@author
</span>
143 <span class=
"ruby-keyword kw">end
</span>
149 <div id=
"method-M000131" class=
"method-detail">
150 <a name=
"M000131"></a>
152 <div class=
"method-heading">
153 <a href=
"#M000131" class=
"method-signature">
154 <span class=
"method-name">author_date
</span><span class=
"method-args">()
</span>
158 <div class=
"method-description">
159 <p><a class=
"source-toggle" href=
"#"
160 onclick=
"toggleCode('M000131-source');return false;">[Source]
</a></p>
161 <div class=
"method-source-code" id=
"M000131-source">
163 <span class=
"ruby-comment cmt"># File lib/git/object.rb, line
148</span>
164 <span class=
"ruby-keyword kw">def
</span> <span class=
"ruby-identifier">author_date
</span>
165 <span class=
"ruby-identifier">author
</span>.
<span class=
"ruby-identifier">date
</span>
166 <span class=
"ruby-keyword kw">end
</span>
172 <div id=
"method-M000132" class=
"method-detail">
173 <a name=
"M000132"></a>
175 <div class=
"method-heading">
176 <a href=
"#M000132" class=
"method-signature">
177 <span class=
"method-name">committer
</span><span class=
"method-args">()
</span>
181 <div class=
"method-description">
185 <p><a class=
"source-toggle" href=
"#"
186 onclick=
"toggleCode('M000132-source');return false;">[Source]
</a></p>
187 <div class=
"method-source-code" id=
"M000132-source">
189 <span class=
"ruby-comment cmt"># File lib/git/object.rb, line
153</span>
190 <span class=
"ruby-keyword kw">def
</span> <span class=
"ruby-identifier">committer
</span>
191 <span class=
"ruby-identifier">check_commit
</span>
192 <span class=
"ruby-ivar">@committer
</span>
193 <span class=
"ruby-keyword kw">end
</span>
199 <div id=
"method-M000133" class=
"method-detail">
200 <a name=
"M000133"></a>
202 <div class=
"method-heading">
203 <a href=
"#M000133" class=
"method-signature">
204 <span class=
"method-name">committer_date
</span><span class=
"method-args">()
</span>
208 <div class=
"method-description">
209 <p><a class=
"source-toggle" href=
"#"
210 onclick=
"toggleCode('M000133-source');return false;">[Source]
</a></p>
211 <div class=
"method-source-code" id=
"M000133-source">
213 <span class=
"ruby-comment cmt"># File lib/git/object.rb, line
158</span>
214 <span class=
"ruby-keyword kw">def
</span> <span class=
"ruby-identifier">committer_date
</span>
215 <span class=
"ruby-identifier">committer
</span>.
<span class=
"ruby-identifier">date
</span>
216 <span class=
"ruby-keyword kw">end
</span>
222 <div id=
"method-M000134" class=
"method-detail">
223 <a name=
"M000134"></a>
225 <div class=
"method-heading">
226 <span class=
"method-name">date
</span><span class=
"method-args">()
</span>
229 <div class=
"method-description">
231 Alias for
<a href=
"Commit.html#M000133">committer_date
</a>
236 <div id=
"method-M000135" class=
"method-detail">
237 <a name=
"M000135"></a>
239 <div class=
"method-heading">
240 <a href=
"#M000135" class=
"method-signature">
241 <span class=
"method-name">diff_parent
</span><span class=
"method-args">()
</span>
245 <div class=
"method-description">
246 <p><a class=
"source-toggle" href=
"#"
247 onclick=
"toggleCode('M000135-source');return false;">[Source]
</a></p>
248 <div class=
"method-source-code" id=
"M000135-source">
250 <span class=
"ruby-comment cmt"># File lib/git/object.rb, line
163</span>
251 <span class=
"ruby-keyword kw">def
</span> <span class=
"ruby-identifier">diff_parent
</span>
252 <span class=
"ruby-identifier">diff
</span>(
<span class=
"ruby-identifier">parent
</span>)
253 <span class=
"ruby-keyword kw">end
</span>
259 <div id=
"method-M000127" class=
"method-detail">
260 <a name=
"M000127"></a>
262 <div class=
"method-heading">
263 <a href=
"#M000127" class=
"method-signature">
264 <span class=
"method-name">gtree
</span><span class=
"method-args">()
</span>
268 <div class=
"method-description">
269 <p><a class=
"source-toggle" href=
"#"
270 onclick=
"toggleCode('M000127-source');return false;">[Source]
</a></p>
271 <div class=
"method-source-code" id=
"M000127-source">
273 <span class=
"ruby-comment cmt"># File lib/git/object.rb, line
127</span>
274 <span class=
"ruby-keyword kw">def
</span> <span class=
"ruby-identifier">gtree
</span>
275 <span class=
"ruby-identifier">check_commit
</span>
276 <span class=
"ruby-constant">Tree
</span>.
<span class=
"ruby-identifier">new
</span>(
<span class=
"ruby-ivar">@base
</span>,
<span class=
"ruby-ivar">@tree
</span>)
277 <span class=
"ruby-keyword kw">end
</span>
283 <div id=
"method-M000126" class=
"method-detail">
284 <a name=
"M000126"></a>
286 <div class=
"method-heading">
287 <a href=
"#M000126" class=
"method-signature">
288 <span class=
"method-name">message
</span><span class=
"method-args">()
</span>
292 <div class=
"method-description">
293 <p><a class=
"source-toggle" href=
"#"
294 onclick=
"toggleCode('M000126-source');return false;">[Source]
</a></p>
295 <div class=
"method-source-code" id=
"M000126-source">
297 <span class=
"ruby-comment cmt"># File lib/git/object.rb, line
122</span>
298 <span class=
"ruby-keyword kw">def
</span> <span class=
"ruby-identifier">message
</span>
299 <span class=
"ruby-identifier">check_commit
</span>
300 <span class=
"ruby-ivar">@message
</span>
301 <span class=
"ruby-keyword kw">end
</span>
307 <div id=
"method-M000128" class=
"method-detail">
308 <a name=
"M000128"></a>
310 <div class=
"method-heading">
311 <a href=
"#M000128" class=
"method-signature">
312 <span class=
"method-name">parent
</span><span class=
"method-args">()
</span>
316 <div class=
"method-description">
317 <p><a class=
"source-toggle" href=
"#"
318 onclick=
"toggleCode('M000128-source');return false;">[Source]
</a></p>
319 <div class=
"method-source-code" id=
"M000128-source">
321 <span class=
"ruby-comment cmt"># File lib/git/object.rb, line
132</span>
322 <span class=
"ruby-keyword kw">def
</span> <span class=
"ruby-identifier">parent
</span>
323 <span class=
"ruby-identifier">parents
</span>.
<span class=
"ruby-identifier">first
</span>
324 <span class=
"ruby-keyword kw">end
</span>
330 <div id=
"method-M000129" class=
"method-detail">
331 <a name=
"M000129"></a>
333 <div class=
"method-heading">
334 <a href=
"#M000129" class=
"method-signature">
335 <span class=
"method-name">parents
</span><span class=
"method-args">()
</span>
339 <div class=
"method-description">
341 array of all parent commits
343 <p><a class=
"source-toggle" href=
"#"
344 onclick=
"toggleCode('M000129-source');return false;">[Source]
</a></p>
345 <div class=
"method-source-code" id=
"M000129-source">
347 <span class=
"ruby-comment cmt"># File lib/git/object.rb, line
137</span>
348 <span class=
"ruby-keyword kw">def
</span> <span class=
"ruby-identifier">parents
</span>
349 <span class=
"ruby-identifier">check_commit
</span>
350 <span class=
"ruby-ivar">@parents
</span>
351 <span class=
"ruby-keyword kw">end
</span>
364 <div id=
"validator-badges">
365 <p><small><a href=
"http://validator.w3.org/check/referer">[Validate]
</a></small></p>