blob: 93d6862de2e3d3f0652eaa7184f464331cf4d1f3 [file] [log] [blame]
Junio C Hamano3dac5042007-12-15 08:40:541<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
2 "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
3<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
4<head>
5<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
Junio C Hamano982eb112010-11-18 00:53:096<meta name="generator" content="AsciiDoc 8.4.5" />
7<title>GIT API Documents</title>
Junio C Hamano3dac5042007-12-15 08:40:548<style type="text/css">
9/* Debug borders */
10p, li, dt, dd, div, pre, h1, h2, h3, h4, h5, h6 {
11/*
12 border: 1px solid red;
13*/
14}
15
16body {
17 margin: 1em 5% 1em 5%;
18}
19
Junio C Hamano0868a302008-07-22 09:20:4420a {
21 color: blue;
22 text-decoration: underline;
23}
24a:visited {
25 color: fuchsia;
26}
Junio C Hamano3dac5042007-12-15 08:40:5427
28em {
29 font-style: italic;
Junio C Hamano982eb112010-11-18 00:53:0930 color: navy;
Junio C Hamano3dac5042007-12-15 08:40:5431}
32
33strong {
34 font-weight: bold;
Junio C Hamano982eb112010-11-18 00:53:0935 color: #083194;
Junio C Hamano3dac5042007-12-15 08:40:5436}
37
38tt {
39 color: navy;
40}
41
42h1, h2, h3, h4, h5, h6 {
43 color: #527bbd;
44 font-family: sans-serif;
45 margin-top: 1.2em;
46 margin-bottom: 0.5em;
47 line-height: 1.3;
48}
49
Junio C Hamano0868a302008-07-22 09:20:4450h1, h2, h3 {
Junio C Hamano3dac5042007-12-15 08:40:5451 border-bottom: 2px solid silver;
52}
53h2 {
Junio C Hamano3dac5042007-12-15 08:40:5454 padding-top: 0.5em;
55}
Junio C Hamano0868a302008-07-22 09:20:4456h3 {
57 float: left;
58}
59h3 + * {
60 clear: left;
61}
Junio C Hamano3dac5042007-12-15 08:40:5462
63div.sectionbody {
64 font-family: serif;
65 margin-left: 0;
66}
67
68hr {
69 border: 1px solid silver;
70}
71
72p {
73 margin-top: 0.5em;
74 margin-bottom: 0.5em;
75}
76
Junio C Hamano982eb112010-11-18 00:53:0977ul, ol, li > p {
78 margin-top: 0;
79}
80
Junio C Hamano3dac5042007-12-15 08:40:5481pre {
82 padding: 0;
83 margin: 0;
84}
85
86span#author {
87 color: #527bbd;
88 font-family: sans-serif;
89 font-weight: bold;
Junio C Hamano0868a302008-07-22 09:20:4490 font-size: 1.1em;
Junio C Hamano3dac5042007-12-15 08:40:5491}
92span#email {
93}
Junio C Hamano982eb112010-11-18 00:53:0994span#revnumber, span#revdate, span#revremark {
Junio C Hamano3dac5042007-12-15 08:40:5495 font-family: sans-serif;
96}
97
98div#footer {
99 font-family: sans-serif;
100 font-size: small;
101 border-top: 2px solid silver;
102 padding-top: 0.5em;
103 margin-top: 4.0em;
104}
105div#footer-text {
106 float: left;
107 padding-bottom: 0.5em;
108}
109div#footer-badges {
110 float: right;
111 padding-bottom: 0.5em;
112}
113
Junio C Hamano982eb112010-11-18 00:53:09114div#preamble {
115 margin-top: 1.5em;
116 margin-bottom: 1.5em;
117}
Junio C Hamano3dac5042007-12-15 08:40:54118div.tableblock, div.imageblock, div.exampleblock, div.verseblock,
119div.quoteblock, div.literalblock, div.listingblock, div.sidebarblock,
120div.admonitionblock {
Junio C Hamano3dac5042007-12-15 08:40:54121 margin-top: 1.5em;
122 margin-bottom: 1.5em;
123}
124div.admonitionblock {
125 margin-top: 2.5em;
126 margin-bottom: 2.5em;
127}
128
129div.content { /* Block element content. */
130 padding: 0;
131}
132
133/* Block element titles. */
134div.title, caption.title {
Junio C Hamano982eb112010-11-18 00:53:09135 color: #527bbd;
Junio C Hamano3dac5042007-12-15 08:40:54136 font-family: sans-serif;
137 font-weight: bold;
138 text-align: left;
139 margin-top: 1.0em;
140 margin-bottom: 0.5em;
141}
142div.title + * {
143 margin-top: 0;
144}
145
146td div.title:first-child {
147 margin-top: 0.0em;
148}
149div.content div.title:first-child {
150 margin-top: 0.0em;
151}
152div.content + div.title {
153 margin-top: 0.0em;
154}
155
156div.sidebarblock > div.content {
157 background: #ffffee;
158 border: 1px solid silver;
159 padding: 0.5em;
160}
161
Junio C Hamano3dac5042007-12-15 08:40:54162div.listingblock > div.content {
163 border: 1px solid silver;
164 background: #f4f4f4;
165 padding: 0.5em;
166}
167
Junio C Hamano982eb112010-11-18 00:53:09168div.quoteblock {
Junio C Hamano3dac5042007-12-15 08:40:54169 padding-left: 2.0em;
Junio C Hamano982eb112010-11-18 00:53:09170 margin-right: 10%;
Junio C Hamano3dac5042007-12-15 08:40:54171}
Junio C Hamano982eb112010-11-18 00:53:09172div.quoteblock > div.attribution {
173 padding-top: 0.5em;
Junio C Hamano3dac5042007-12-15 08:40:54174 text-align: right;
175}
Junio C Hamano982eb112010-11-18 00:53:09176
177div.verseblock {
178 padding-left: 2.0em;
179 margin-right: 10%;
180}
181div.verseblock > div.content {
182 white-space: pre;
183}
184div.verseblock > div.attribution {
185 padding-top: 0.75em;
186 text-align: left;
187}
188/* DEPRECATED: Pre version 8.2.7 verse style literal block. */
Junio C Hamano0868a302008-07-22 09:20:44189div.verseblock + div.attribution {
190 text-align: left;
191}
Junio C Hamano3dac5042007-12-15 08:40:54192
193div.admonitionblock .icon {
194 vertical-align: top;
195 font-size: 1.1em;
196 font-weight: bold;
197 text-decoration: underline;
198 color: #527bbd;
199 padding-right: 0.5em;
200}
201div.admonitionblock td.content {
202 padding-left: 0.5em;
203 border-left: 2px solid silver;
204}
205
206div.exampleblock > div.content {
207 border-left: 2px solid silver;
208 padding: 0.5em;
209}
210
Junio C Hamano3dac5042007-12-15 08:40:54211div.imageblock div.content { padding-left: 0; }
Junio C Hamano3dac5042007-12-15 08:40:54212span.image img { border-style: none; }
Junio C Hamano982eb112010-11-18 00:53:09213a.image:visited { color: white; }
Junio C Hamano3dac5042007-12-15 08:40:54214
215dl {
216 margin-top: 0.8em;
217 margin-bottom: 0.8em;
218}
219dt {
220 margin-top: 0.5em;
221 margin-bottom: 0;
Junio C Hamano982eb112010-11-18 00:53:09222 font-style: normal;
223 color: navy;
Junio C Hamano3dac5042007-12-15 08:40:54224}
225dd > *:first-child {
Junio C Hamano982eb112010-11-18 00:53:09226 margin-top: 0.1em;
Junio C Hamano3dac5042007-12-15 08:40:54227}
228
229ul, ol {
230 list-style-position: outside;
231}
Junio C Hamano982eb112010-11-18 00:53:09232ol.arabic {
233 list-style-type: decimal;
234}
235ol.loweralpha {
Junio C Hamano3dac5042007-12-15 08:40:54236 list-style-type: lower-alpha;
237}
Junio C Hamano982eb112010-11-18 00:53:09238ol.upperalpha {
239 list-style-type: upper-alpha;
240}
241ol.lowerroman {
242 list-style-type: lower-roman;
243}
244ol.upperroman {
245 list-style-type: upper-roman;
246}
247
248div.compact ul, div.compact ol,
249div.compact p, div.compact p,
250div.compact div, div.compact div {
251 margin-top: 0.1em;
252 margin-bottom: 0.1em;
253}
Junio C Hamano3dac5042007-12-15 08:40:54254
255div.tableblock > table {
Junio C Hamano0868a302008-07-22 09:20:44256 border: 3px solid #527bbd;
Junio C Hamano3dac5042007-12-15 08:40:54257}
258thead {
259 font-family: sans-serif;
260 font-weight: bold;
261}
262tfoot {
263 font-weight: bold;
264}
Junio C Hamano982eb112010-11-18 00:53:09265td > div.verse {
266 white-space: pre;
267}
268p.table {
269 margin-top: 0;
270}
271/* Because the table frame attribute is overriden by CSS in most browsers. */
272div.tableblock > table[frame="void"] {
273 border-style: none;
274}
275div.tableblock > table[frame="hsides"] {
276 border-left-style: none;
277 border-right-style: none;
278}
279div.tableblock > table[frame="vsides"] {
280 border-top-style: none;
281 border-bottom-style: none;
282}
Junio C Hamano3dac5042007-12-15 08:40:54283
Junio C Hamano982eb112010-11-18 00:53:09284
285div.hdlist {
Junio C Hamano3dac5042007-12-15 08:40:54286 margin-top: 0.8em;
287 margin-bottom: 0.8em;
288}
Junio C Hamano982eb112010-11-18 00:53:09289div.hdlist tr {
290 padding-bottom: 15px;
Junio C Hamano0868a302008-07-22 09:20:44291}
Junio C Hamano982eb112010-11-18 00:53:09292dt.hdlist1.strong, td.hdlist1.strong {
293 font-weight: bold;
294}
295td.hdlist1 {
Junio C Hamano3dac5042007-12-15 08:40:54296 vertical-align: top;
Junio C Hamano982eb112010-11-18 00:53:09297 font-style: normal;
Junio C Hamano3dac5042007-12-15 08:40:54298 padding-right: 0.8em;
Junio C Hamano982eb112010-11-18 00:53:09299 color: navy;
Junio C Hamano3dac5042007-12-15 08:40:54300}
Junio C Hamano982eb112010-11-18 00:53:09301td.hdlist2 {
Junio C Hamano3dac5042007-12-15 08:40:54302 vertical-align: top;
303}
Junio C Hamano982eb112010-11-18 00:53:09304div.hdlist.compact tr {
305 margin: 0;
306 padding-bottom: 0;
307}
308
309.comment {
310 background: yellow;
311}
Junio C Hamano3dac5042007-12-15 08:40:54312
313@media print {
314 div#footer-badges { display: none; }
315}
Junio C Hamano0868a302008-07-22 09:20:44316
317div#toctitle {
318 color: #527bbd;
319 font-family: sans-serif;
320 font-size: 1.1em;
321 font-weight: bold;
322 margin-top: 1.0em;
323 margin-bottom: 0.1em;
324}
325
326div.toclevel1, div.toclevel2, div.toclevel3, div.toclevel4 {
327 margin-top: 0;
328 margin-bottom: 0;
329}
330div.toclevel2 {
331 margin-left: 2em;
332 font-size: 0.9em;
333}
334div.toclevel3 {
335 margin-left: 4em;
336 font-size: 0.9em;
337}
338div.toclevel4 {
339 margin-left: 6em;
340 font-size: 0.9em;
341}
Junio C Hamano3dac5042007-12-15 08:40:54342/* Workarounds for IE6's broken and incomplete CSS2. */
343
344div.sidebar-content {
345 background: #ffffee;
346 border: 1px solid silver;
347 padding: 0.5em;
348}
349div.sidebar-title, div.image-title {
Junio C Hamano982eb112010-11-18 00:53:09350 color: #527bbd;
Junio C Hamano3dac5042007-12-15 08:40:54351 font-family: sans-serif;
352 font-weight: bold;
353 margin-top: 0.0em;
354 margin-bottom: 0.5em;
355}
356
357div.listingblock div.content {
358 border: 1px solid silver;
359 background: #f4f4f4;
360 padding: 0.5em;
361}
362
Junio C Hamano982eb112010-11-18 00:53:09363div.quoteblock-attribution {
364 padding-top: 0.5em;
365 text-align: right;
366}
367
368div.verseblock-content {
369 white-space: pre;
370}
371div.verseblock-attribution {
372 padding-top: 0.75em;
373 text-align: left;
Junio C Hamano3dac5042007-12-15 08:40:54374}
375
376div.exampleblock-content {
377 border-left: 2px solid silver;
378 padding-left: 0.5em;
379}
Junio C Hamano0868a302008-07-22 09:20:44380
381/* IE6 sets dynamically generated links as visited. */
382div#toc a:visited { color: blue; }
Junio C Hamano3dac5042007-12-15 08:40:54383</style>
Junio C Hamano3dac5042007-12-15 08:40:54384</head>
385<body>
386<div id="header">
387<h1>GIT API Documents</h1>
388</div>
389<div id="preamble">
390<div class="sectionbody">
Junio C Hamano982eb112010-11-18 00:53:09391<div class="paragraph"><p>GIT has grown a set of internal API over time. This collection
Junio C Hamano0868a302008-07-22 09:20:44392documents them.</p></div>
Junio C Hamano982eb112010-11-18 00:53:09393<div class="ulist"><ul>
Junio C Hamano3dac5042007-12-15 08:40:54394<li>
395<p>
396<a href="api-allocation-growing.html">allocation growing API</a>
397</p>
398</li>
399<li>
400<p>
401<a href="api-builtin.html">builtin API</a>
402</p>
403</li>
404<li>
405<p>
406<a href="api-decorate.html">decorate API</a>
407</p>
408</li>
409<li>
410<p>
411<a href="api-diff.html">diff API</a>
412</p>
413</li>
414<li>
415<p>
416<a href="api-directory-listing.html">directory listing API</a>
417</p>
418</li>
419<li>
420<p>
421<a href="api-gitattributes.html">gitattributes API</a>
422</p>
423</li>
424<li>
425<p>
426<a href="api-grep.html">grep API</a>
427</p>
428</li>
429<li>
430<p>
431<a href="api-hash.html">hash API</a>
432</p>
433</li>
434<li>
435<p>
Junio C Hamanofeeb1be2008-05-22 00:53:35436<a href="api-history-graph.html">history graph API</a>
437</p>
438</li>
439<li>
440<p>
Junio C Hamano3dac5042007-12-15 08:40:54441<a href="api-in-core-index.html">in-core index API</a>
442</p>
443</li>
444<li>
445<p>
446<a href="api-lockfile.html">lockfile API</a>
447</p>
448</li>
449<li>
450<p>
Junio C Hamano2db3e752010-09-03 21:33:06451<a href="api-merge.html">merge API</a>
452</p>
453</li>
454<li>
455<p>
Junio C Hamano3dac5042007-12-15 08:40:54456<a href="api-object-access.html">object access API</a>
457</p>
458</li>
459<li>
460<p>
461<a href="api-parse-options.html">parse-options API</a>
462</p>
463</li>
464<li>
465<p>
Junio C Hamano3dac5042007-12-15 08:40:54466<a href="api-quote.html">quote API</a>
467</p>
468</li>
469<li>
470<p>
Junio C Hamano6d559fc2008-02-20 10:44:26471<a href="api-remote.html">Remotes configuration API</a>
472</p>
473</li>
474<li>
475<p>
Junio C Hamano3dac5042007-12-15 08:40:54476<a href="api-revision-walking.html">revision walking API</a>
477</p>
478</li>
479<li>
480<p>
481<a href="api-run-command.html">run-command API</a>
482</p>
483</li>
484<li>
485<p>
486<a href="api-setup.html">setup API</a>
487</p>
488</li>
489<li>
490<p>
Junio C Hamano982eb112010-11-18 00:53:09491<a href="api-sigchain.html">sigchain API</a>
492</p>
493</li>
494<li>
495<p>
Junio C Hamano3dac5042007-12-15 08:40:54496<a href="api-strbuf.html">strbuf API</a>
497</p>
498</li>
499<li>
500<p>
Junio C Hamano0868a302008-07-22 09:20:44501<a href="api-string-list.html">string-list API</a>
502</p>
503</li>
504<li>
505<p>
Junio C Hamano3dac5042007-12-15 08:40:54506<a href="api-tree-walking.html">tree walking API</a>
507</p>
508</li>
509<li>
510<p>
511<a href="api-xdiff-interface.html">xdiff interface API</a>
512</p>
513</li>
Junio C Hamano0868a302008-07-22 09:20:44514</ul></div>
Junio C Hamano982eb112010-11-18 00:53:09515<div class="paragraph"><p>2007-11-24</p></div>
Junio C Hamano3dac5042007-12-15 08:40:54516</div>
517</div>
518<div id="footer">
519<div id="footer-text">
Junio C Hamano982eb112010-11-18 00:53:09520Last updated 2010-11-18 00:52:24 UTC
Junio C Hamano3dac5042007-12-15 08:40:54521</div>
522</div>
523</body>
524</html>