summaryrefslogtreecommitdiffstats
path: root/git-repack.html
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2014-01-17 14:46:49 -0800
committerJunio C Hamano <gitster@pobox.com>2014-01-17 14:46:49 -0800
commit61525f915b47e953b4288a9afcee45e47b352214 (patch)
treef0649f89cc7a77c0296305f4673fc2bc7e0a6d54 /git-repack.html
parentbc8d4783cac3c942fc9e8cf2f3eae4aea8cab5cb (diff)
downloadgit-htmldocs-61525f915b47e953b4288a9afcee45e47b352214.tar.gz
Autogenerated HTML docs for v1.9-rc0
Diffstat (limited to 'git-repack.html')
-rw-r--r--git-repack.html60
1 files changed, 32 insertions, 28 deletions
diff --git a/git-repack.html b/git-repack.html
index 41a36e946..6cc93a278 100644
--- a/git-repack.html
+++ b/git-repack.html
@@ -3,7 +3,7 @@
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
<meta http-equiv="Content-Type" content="application/xhtml+xml; charset=UTF-8" />
-<meta name="generator" content="AsciiDoc 8.6.8" />
+<meta name="generator" content="AsciiDoc 8.6.6" />
<title>git-repack(1)</title>
<style type="text/css">
/* Shared CSS for AsciiDoc xhtml11 and html5 backends */
@@ -87,15 +87,11 @@ ul, ol, li > p {
ul > li { color: #aaa; }
ul > li > * { color: black; }
-.monospaced, code, pre {
- font-family: "Courier New", Courier, monospace;
- font-size: inherit;
- color: navy;
+pre {
padding: 0;
margin: 0;
}
-
#author {
color: #527bbd;
font-weight: bold;
@@ -353,7 +349,7 @@ div.colist td img {
margin-bottom: 0.1em;
}
-div.toclevel0, div.toclevel1, div.toclevel2, div.toclevel3, div.toclevel4 {
+div.toclevel1, div.toclevel2, div.toclevel3, div.toclevel4 {
margin-top: 0;
margin-bottom: 0;
}
@@ -411,14 +407,18 @@ span.underline { text-decoration: underline; }
span.overline { text-decoration: overline; }
span.line-through { text-decoration: line-through; }
-div.unbreakable { page-break-inside: avoid; }
-
/*
* xhtml11 specific
*
* */
+tt {
+ font-family: monospace;
+ font-size: inherit;
+ color: navy;
+}
+
div.tableblock {
margin-top: 1.0em;
margin-bottom: 1.5em;
@@ -452,6 +452,12 @@ div.tableblock > table[frame="vsides"] {
*
* */
+.monospaced {
+ font-family: monospace;
+ font-size: inherit;
+ color: navy;
+}
+
table.tableblock {
margin-top: 1.0em;
margin-bottom: 1.5em;
@@ -531,8 +537,6 @@ body.manpage div.sectionbody {
@media print {
body.manpage div#toc { display: none; }
}
-
-
</style>
<script type="text/javascript">
/*<![CDATA[*/
@@ -577,7 +581,7 @@ toc: function (toclevels) {
function tocEntries(el, toclevels) {
var result = new Array;
- var re = new RegExp('[hH]([1-'+(toclevels+1)+'])');
+ var re = new RegExp('[hH]([2-'+(toclevels+1)+'])');
// Function that scans the DOM tree for header elements (the DOM2
// nodeIterator API would be a better technique but not supported by all
// browsers).
@@ -606,7 +610,7 @@ toc: function (toclevels) {
var i;
for (i = 0; i < toc.childNodes.length; i++) {
var entry = toc.childNodes[i];
- if (entry.nodeName.toLowerCase() == 'div'
+ if (entry.nodeName == 'div'
&& entry.getAttribute("class")
&& entry.getAttribute("class").match(/^toclevel/))
tocEntriesToRemove.push(entry);
@@ -652,7 +656,7 @@ footnotes: function () {
var entriesToRemove = [];
for (i = 0; i < noteholder.childNodes.length; i++) {
var entry = noteholder.childNodes[i];
- if (entry.nodeName.toLowerCase() == 'div' && entry.getAttribute("class") == "footnote")
+ if (entry.nodeName == 'div' && entry.getAttribute("class") == "footnote")
entriesToRemove.push(entry);
}
for (i = 0; i < entriesToRemove.length; i++) {
@@ -777,8 +781,8 @@ engines, disk storage, etc.</p></div>
pack everything referenced into a single pack.
Especially useful when packing a repository that is used
for private development. Use
- with <em>-d</em>. This will clean up the objects that <code>git prune</code>
- leaves behind, but <code>git fsck --full --dangling</code> shows as
+ with <em>-d</em>. This will clean up the objects that <tt>git prune</tt>
+ leaves behind, but <tt>git fsck --full --dangling</tt> shows as
dangling.
</p>
<div class="paragraph"><p>Note that users fetching over dumb protocols will have to fetch the
@@ -790,7 +794,7 @@ other objects in that pack they already have locally.</p></div>
</dt>
<dd>
<p>
- Same as <code>-a</code>, unless <em>-d</em> is used. Then any unreachable
+ Same as <tt>-a</tt>, unless <em>-d</em> is used. Then any unreachable
objects in a previous pack become loose, unpacked objects,
instead of being left in the old pack. Unreachable objects
are never intentionally added to a pack, even when repacking.
@@ -817,7 +821,7 @@ other objects in that pack they already have locally.</p></div>
</dt>
<dd>
<p>
- Pass the <code>--local</code> option to <em>git pack-objects</em>. See
+ Pass the <tt>--local</tt> option to <em>git pack-objects</em>. See
<a href="git-pack-objects.html">git-pack-objects(1)</a>.
</p>
</dd>
@@ -826,7 +830,7 @@ other objects in that pack they already have locally.</p></div>
</dt>
<dd>
<p>
- Pass the <code>--no-reuse-delta</code> option to <code>git-pack-objects</code>, see
+ Pass the <tt>--no-reuse-delta</tt> option to <tt>git-pack-objects</tt>, see
<a href="git-pack-objects.html">git-pack-objects(1)</a>.
</p>
</dd>
@@ -835,7 +839,7 @@ other objects in that pack they already have locally.</p></div>
</dt>
<dd>
<p>
- Pass the <code>--no-reuse-object</code> option to <code>git-pack-objects</code>, see
+ Pass the <tt>--no-reuse-object</tt> option to <tt>git-pack-objects</tt>, see
<a href="git-pack-objects.html">git-pack-objects(1)</a>.
</p>
</dd>
@@ -844,7 +848,7 @@ other objects in that pack they already have locally.</p></div>
</dt>
<dd>
<p>
- Pass the <code>-q</code> option to <em>git pack-objects</em>. See
+ Pass the <tt>-q</tt> option to <em>git pack-objects</em>. See
<a href="git-pack-objects.html">git-pack-objects(1)</a>.
</p>
</dd>
@@ -871,8 +875,8 @@ other objects in that pack they already have locally.</p></div>
These two options affect how the objects contained in the pack are
stored using delta compression. The objects are first internally
sorted by type, size and optionally names and compared against the
- other objects within <code>--window</code> to see if using delta compression saves
- space. <code>--depth</code> limits the maximum delta depth; making it too deep
+ other objects within <tt>--window</tt> to see if using delta compression saves
+ space. <tt>--depth</tt> limits the maximum delta depth; making it too deep
affects the performance on the unpacker side, because delta data needs
to be applied that many times to get to the necessary object.
The default value for --window is 10 and --depth is 50.
@@ -883,14 +887,14 @@ other objects in that pack they already have locally.</p></div>
</dt>
<dd>
<p>
- This option provides an additional limit on top of <code>--window</code>;
+ This option provides an additional limit on top of <tt>--window</tt>;
the window size will dynamically scale down so as to not take
up more than <em>&lt;n&gt;</em> bytes in memory. This is useful in
repositories with a mix of large and small objects to not run
out of memory with a large window, but still be able to take
advantage of the large window for the smaller objects. The
size can be suffixed with "k", "m", or "g".
- <code>--window-memory=0</code> makes memory usage unlimited, which is the
+ <tt>--window-memory=0</tt> makes memory usage unlimited, which is the
default.
</p>
</dd>
@@ -903,7 +907,7 @@ other objects in that pack they already have locally.</p></div>
"k", "m", or "g". The minimum size allowed is limited to 1 MiB.
If specified, multiple packfiles may be created.
The default is unlimited, unless the config variable
- <code>pack.packSizeLimit</code> is set.
+ <tt>pack.packSizeLimit</tt> is set.
</p>
</dd>
</dl></div>
@@ -912,12 +916,12 @@ other objects in that pack they already have locally.</p></div>
<div class="sect1">
<h2 id="_configuration">Configuration</h2>
<div class="sectionbody">
-<div class="paragraph"><p>By default, the command passes <code>--delta-base-offset</code> option to
+<div class="paragraph"><p>By default, the command passes <tt>--delta-base-offset</tt> option to
<em>git pack-objects</em>; this typically results in slightly smaller packs,
but the generated packs are incompatible with versions of Git older than
version 1.4.4. If you need to share your repository with such ancient Git
versions, either directly or via the dumb http or rsync protocol, then you
-need to set the configuration variable <code>repack.UseDeltaBaseOffset</code> to
+need to set the configuration variable <tt>repack.UseDeltaBaseOffset</tt> to
"false" and repack. Access from old Git versions over the native protocol
is unaffected by this option as the conversion is performed on the fly
as needed in that case.</p></div>