summaryrefslogtreecommitdiffstats
path: root/git-fsck.html
diff options
context:
space:
mode:
authorJunio C Hamano <junio@kernel.org>2010-12-20 10:08:00 +0000
committerJunio C Hamano <junio@kernel.org>2010-12-20 10:08:00 +0000
commitcdd1c33a60297c3210787c6fcbd72ab8467ff6f6 (patch)
treefa420234369d165f67140bda0aaac67a7f9ce269 /git-fsck.html
parent0d75e8734ce2601a438c17a0588270dd3fa8aec1 (diff)
downloadgit-htmldocs-cdd1c33a60297c3210787c6fcbd72ab8467ff6f6.tar.gz
Autogenerated HTML docs for v1.7.3.4-577-gf29db
Diffstat (limited to 'git-fsck.html')
-rw-r--r--git-fsck.html252
1 files changed, 170 insertions, 82 deletions
diff --git a/git-fsck.html b/git-fsck.html
index dc5aaf873..4e41814d8 100644
--- a/git-fsck.html
+++ b/git-fsck.html
@@ -3,7 +3,8 @@
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<meta name="generator" content="AsciiDoc 8.2.5" />
+<meta name="generator" content="AsciiDoc 8.4.5" />
+<title>git-fsck(1)</title>
<style type="text/css">
/* Debug borders */
p, li, dt, dd, div, pre, h1, h2, h3, h4, h5, h6 {
@@ -26,10 +27,12 @@ a:visited {
em {
font-style: italic;
+ color: navy;
}
strong {
font-weight: bold;
+ color: #083194;
}
tt {
@@ -71,6 +74,10 @@ p {
margin-bottom: 0.5em;
}
+ul, ol, li > p {
+ margin-top: 0;
+}
+
pre {
padding: 0;
margin: 0;
@@ -84,7 +91,7 @@ span#author {
}
span#email {
}
-span#revision {
+span#revnumber, span#revdate, span#revremark {
font-family: sans-serif;
}
@@ -104,11 +111,13 @@ div#footer-badges {
padding-bottom: 0.5em;
}
-div#preamble,
+div#preamble {
+ margin-top: 1.5em;
+ margin-bottom: 1.5em;
+}
div.tableblock, div.imageblock, div.exampleblock, div.verseblock,
div.quoteblock, div.literalblock, div.listingblock, div.sidebarblock,
div.admonitionblock {
- margin-right: 10%;
margin-top: 1.5em;
margin-bottom: 1.5em;
}
@@ -123,6 +132,7 @@ div.content { /* Block element content. */
/* Block element titles. */
div.title, caption.title {
+ color: #527bbd;
font-family: sans-serif;
font-weight: bold;
text-align: left;
@@ -149,22 +159,33 @@ div.sidebarblock > div.content {
padding: 0.5em;
}
-div.listingblock {
- margin-right: 0%;
-}
div.listingblock > div.content {
border: 1px solid silver;
background: #f4f4f4;
padding: 0.5em;
}
-div.quoteblock > div.content {
+div.quoteblock {
padding-left: 2.0em;
+ margin-right: 10%;
}
-
-div.attribution {
+div.quoteblock > div.attribution {
+ padding-top: 0.5em;
text-align: right;
}
+
+div.verseblock {
+ padding-left: 2.0em;
+ margin-right: 10%;
+}
+div.verseblock > div.content {
+ white-space: pre;
+}
+div.verseblock > div.attribution {
+ padding-top: 0.75em;
+ text-align: left;
+}
+/* DEPRECATED: Pre version 8.2.7 verse style literal block. */
div.verseblock + div.attribution {
text-align: left;
}
@@ -187,13 +208,9 @@ div.exampleblock > div.content {
padding: 0.5em;
}
-div.verseblock div.content {
- white-space: pre;
-}
-
div.imageblock div.content { padding-left: 0; }
-div.imageblock img { border: 1px solid silver; }
span.image img { border-style: none; }
+a.image:visited { color: white; }
dl {
margin-top: 0.8em;
@@ -202,18 +219,38 @@ dl {
dt {
margin-top: 0.5em;
margin-bottom: 0;
- font-style: italic;
+ font-style: normal;
+ color: navy;
}
dd > *:first-child {
- margin-top: 0;
+ margin-top: 0.1em;
}
ul, ol {
list-style-position: outside;
}
-div.olist2 ol {
+ol.arabic {
+ list-style-type: decimal;
+}
+ol.loweralpha {
list-style-type: lower-alpha;
}
+ol.upperalpha {
+ list-style-type: upper-alpha;
+}
+ol.lowerroman {
+ list-style-type: lower-roman;
+}
+ol.upperroman {
+ list-style-type: upper-roman;
+}
+
+div.compact ul, div.compact ol,
+div.compact p, div.compact p,
+div.compact div, div.compact div {
+ margin-top: 0.1em;
+ margin-bottom: 0.1em;
+}
div.tableblock > table {
border: 3px solid #527bbd;
@@ -225,22 +262,53 @@ thead {
tfoot {
font-weight: bold;
}
+td > div.verse {
+ white-space: pre;
+}
+p.table {
+ margin-top: 0;
+}
+/* Because the table frame attribute is overriden by CSS in most browsers. */
+div.tableblock > table[frame="void"] {
+ border-style: none;
+}
+div.tableblock > table[frame="hsides"] {
+ border-left-style: none;
+ border-right-style: none;
+}
+div.tableblock > table[frame="vsides"] {
+ border-top-style: none;
+ border-bottom-style: none;
+}
+
-div.hlist {
+div.hdlist {
margin-top: 0.8em;
margin-bottom: 0.8em;
}
-div.hlist td {
- padding-bottom: 5px;
+div.hdlist tr {
+ padding-bottom: 15px;
+}
+dt.hdlist1.strong, td.hdlist1.strong {
+ font-weight: bold;
}
-td.hlist1 {
+td.hdlist1 {
vertical-align: top;
- font-style: italic;
+ font-style: normal;
padding-right: 0.8em;
+ color: navy;
}
-td.hlist2 {
+td.hdlist2 {
vertical-align: top;
}
+div.hdlist.compact tr {
+ margin: 0;
+ padding-bottom: 0;
+}
+
+.comment {
+ background: yellow;
+}
@media print {
div#footer-badges { display: none; }
@@ -271,7 +339,24 @@ div.toclevel4 {
margin-left: 6em;
font-size: 0.9em;
}
-include1::./stylesheets/xhtml11-manpage.css[]
+/* Overrides for manpage documents */
+h1 {
+ padding-top: 0.5em;
+ padding-bottom: 0.5em;
+ border-top: 2px solid silver;
+ border-bottom: 2px solid silver;
+}
+h2 {
+ border-style: none;
+}
+div.sectionbody {
+ margin-left: 5%;
+}
+
+@media print {
+ div#toc { display: none; }
+}
+
/* Workarounds for IE6's broken and incomplete CSS2. */
div.sidebar-content {
@@ -280,6 +365,7 @@ div.sidebar-content {
padding: 0.5em;
}
div.sidebar-title, div.image-title {
+ color: #527bbd;
font-family: sans-serif;
font-weight: bold;
margin-top: 0.0em;
@@ -292,8 +378,17 @@ div.listingblock div.content {
padding: 0.5em;
}
-div.quoteblock-content {
- padding-left: 2.0em;
+div.quoteblock-attribution {
+ padding-top: 0.5em;
+ text-align: right;
+}
+
+div.verseblock-content {
+ white-space: pre;
+}
+div.verseblock-attribution {
+ padding-top: 0.75em;
+ text-align: left;
}
div.exampleblock-content {
@@ -304,7 +399,6 @@ div.exampleblock-content {
/* IE6 sets dynamically generated links as visited. */
div#toc a:visited { color: blue; }
</style>
-<title>git-fsck(1)</title>
</head>
<body>
<div id="header">
@@ -318,40 +412,42 @@ git-fsck(1) Manual Page
</p>
</div>
</div>
-<h2>SYNOPSIS</h2>
+<h2 id="_synopsis">SYNOPSIS</h2>
<div class="sectionbody">
<div class="verseblock">
-<div class="content"><em>git fsck</em> [--tags] [--root] [--unreachable] [--cache] [--no-reflogs]
- [--[no-]full] [--strict] [--verbose] [--lost-found] [&lt;object&gt;*]</div></div>
+<div class="verseblock-content"><em>git fsck</em> [--tags] [--root] [--unreachable] [--cache] [--no-reflogs]
+ [--[no-]full] [--strict] [--verbose] [--lost-found] [&lt;object&gt;*]</div>
+<div class="verseblock-attribution">
+</div></div>
</div>
<h2 id="_description">DESCRIPTION</h2>
<div class="sectionbody">
-<div class="para"><p>Verifies the connectivity and validity of the objects in the database.</p></div>
+<div class="paragraph"><p>Verifies the connectivity and validity of the objects in the database.</p></div>
</div>
<h2 id="_options">OPTIONS</h2>
<div class="sectionbody">
-<div class="vlist"><dl>
-<dt>
+<div class="dlist"><dl>
+<dt class="hdlist1">
&lt;object&gt;
</dt>
<dd>
<p>
An object to treat as the head of an unreachability trace.
</p>
-<div class="para"><p>If no objects are given, <em>git fsck</em> defaults to using the
+<div class="paragraph"><p>If no objects are given, <em>git fsck</em> defaults to using the
index file, all SHA1 references in .git/refs/*, and all reflogs (unless
--no-reflogs is given) as heads.</p></div>
</dd>
-<dt>
+<dt class="hdlist1">
--unreachable
</dt>
<dd>
<p>
- Print out objects that exist but that aren't readable from any
+ Print out objects that exist but that aren&#8217;t readable from any
of the reference nodes.
</p>
</dd>
-<dt>
+<dt class="hdlist1">
--root
</dt>
<dd>
@@ -359,7 +455,7 @@ index file, all SHA1 references in .git/refs/*, and all reflogs (unless
Report root nodes.
</p>
</dd>
-<dt>
+<dt class="hdlist1">
--tags
</dt>
<dd>
@@ -367,7 +463,7 @@ index file, all SHA1 references in .git/refs/*, and all reflogs (unless
Report tags.
</p>
</dd>
-<dt>
+<dt class="hdlist1">
--cache
</dt>
<dd>
@@ -376,7 +472,7 @@ index file, all SHA1 references in .git/refs/*, and all reflogs (unless
an unreachability trace.
</p>
</dd>
-<dt>
+<dt class="hdlist1">
--no-reflogs
</dt>
<dd>
@@ -384,10 +480,10 @@ index file, all SHA1 references in .git/refs/*, and all reflogs (unless
Do not consider commits that are referenced only by an
entry in a reflog to be reachable. This option is meant
only to search for commits that used to be in a ref, but
- now aren't, but are still in that corresponding reflog.
+ now aren&#8217;t, but are still in that corresponding reflog.
</p>
</dd>
-<dt>
+<dt class="hdlist1">
--full
</dt>
<dd>
@@ -402,7 +498,7 @@ index file, all SHA1 references in .git/refs/*, and all reflogs (unless
with --no-full.
</p>
</dd>
-<dt>
+<dt class="hdlist1">
--strict
</dt>
<dd>
@@ -415,7 +511,7 @@ index file, all SHA1 references in .git/refs/*, and all reflogs (unless
to check new projects with this flag.
</p>
</dd>
-<dt>
+<dt class="hdlist1">
--verbose
</dt>
<dd>
@@ -423,7 +519,7 @@ index file, all SHA1 references in .git/refs/*, and all reflogs (unless
Be chatty.
</p>
</dd>
-<dt>
+<dt class="hdlist1">
--lost-found
</dt>
<dd>
@@ -435,42 +531,42 @@ index file, all SHA1 references in .git/refs/*, and all reflogs (unless
</p>
</dd>
</dl></div>
-<div class="para"><p>It tests SHA1 and general object sanity, and it does full tracking of
+<div class="paragraph"><p>It tests SHA1 and general object sanity, and it does full tracking of
the resulting reachability and everything else. It prints out any
corruption it finds (missing or bad objects), and if you use the
<em>--unreachable</em> flag it will also print out objects that exist but
-that aren't readable from any of the specified head nodes.</p></div>
-<div class="para"><p>So for example</p></div>
+that aren&#8217;t readable from any of the specified head nodes.</p></div>
+<div class="paragraph"><p>So for example</p></div>
<div class="literalblock">
<div class="content">
<pre><tt>git fsck --unreachable HEAD \
$(git for-each-ref --format="%(objectname)" refs/heads)</tt></pre>
</div></div>
-<div class="para"><p>will do quite a _lot_ of verification on the tree. There are a few
+<div class="paragraph"><p>will do quite a <em>lot</em> of verification on the tree. There are a few
extra validity tests to be added (make sure that tree objects are
sorted properly etc), but on the whole if <em>git fsck</em> is happy, you
do have a valid tree.</p></div>
-<div class="para"><p>Any corrupt objects you will have to find in backups or other archives
+<div class="paragraph"><p>Any corrupt objects you will have to find in backups or other archives
(i.e., you can just remove them and do an <em>rsync</em> with some other site in
the hopes that somebody else has the object you have corrupted).</p></div>
-<div class="para"><p>Of course, "valid tree" doesn't mean that it wasn't generated by some
+<div class="paragraph"><p>Of course, "valid tree" doesn&#8217;t mean that it wasn&#8217;t generated by some
evil person, and the end result might be crap. git is a revision
tracking system, not a quality assurance system ;)</p></div>
</div>
<h2 id="_extracted_diagnostics">Extracted Diagnostics</h2>
<div class="sectionbody">
-<div class="vlist"><dl>
-<dt>
+<div class="dlist"><dl>
+<dt class="hdlist1">
expect dangling commits - potential heads - due to lack of head information
</dt>
<dd>
<p>
- You haven't specified any nodes as heads so it won't be
+ You haven&#8217;t specified any nodes as heads so it won&#8217;t be
possible to differentiate between un-parented commits and
root nodes.
</p>
</dd>
-<dt>
+<dt class="hdlist1">
missing sha1 directory <em>&lt;dir&gt;</em>
</dt>
<dd>
@@ -478,29 +574,29 @@ missing sha1 directory <em>&lt;dir&gt;</em>
The directory holding the sha1 objects is missing.
</p>
</dd>
-<dt>
+<dt class="hdlist1">
unreachable &lt;type&gt; &lt;object&gt;
</dt>
<dd>
<p>
- The &lt;type&gt; object &lt;object&gt;, isn't actually referred to directly
+ The &lt;type&gt; object &lt;object&gt;, isn&#8217;t actually referred to directly
or indirectly in any of the trees or commits seen. This can
- mean that there's another root node that you're not specifying
- or that the tree is corrupt. If you haven't missed a root node
+ mean that there&#8217;s another root node that you&#8217;re not specifying
+ or that the tree is corrupt. If you haven&#8217;t missed a root node
then you might as well delete unreachable nodes since they
- can't be used.
+ can&#8217;t be used.
</p>
</dd>
-<dt>
+<dt class="hdlist1">
missing &lt;type&gt; &lt;object&gt;
</dt>
<dd>
<p>
- The &lt;type&gt; object &lt;object&gt;, is referred to but isn't present in
+ The &lt;type&gt; object &lt;object&gt;, is referred to but isn&#8217;t present in
the database.
</p>
</dd>
-<dt>
+<dt class="hdlist1">
dangling &lt;type&gt; &lt;object&gt;
</dt>
<dd>
@@ -509,20 +605,12 @@ dangling &lt;type&gt; &lt;object&gt;
<em>directly</em> used. A dangling commit could be a root node.
</p>
</dd>
-<dt>
-warning: git-fsck: tree &lt;tree&gt; has full pathnames in it
-</dt>
-<dd>
-<p>
- And it shouldn't&#8230;
-</p>
-</dd>
-<dt>
+<dt class="hdlist1">
sha1 mismatch &lt;object&gt;
</dt>
<dd>
<p>
- The database has an object who's sha1 doesn't match the
+ The database has an object who&#8217;s sha1 doesn&#8217;t match the
database value.
This indicates a serious data integrity problem.
</p>
@@ -531,8 +619,8 @@ sha1 mismatch &lt;object&gt;
</div>
<h2 id="_environment_variables">Environment Variables</h2>
<div class="sectionbody">
-<div class="vlist"><dl>
-<dt>
+<div class="dlist"><dl>
+<dt class="hdlist1">
GIT_OBJECT_DIRECTORY
</dt>
<dd>
@@ -540,7 +628,7 @@ GIT_OBJECT_DIRECTORY
used to specify the object database root (usually $GIT_DIR/objects)
</p>
</dd>
-<dt>
+<dt class="hdlist1">
GIT_INDEX_FILE
</dt>
<dd>
@@ -548,7 +636,7 @@ GIT_INDEX_FILE
used to specify the index file of the index
</p>
</dd>
-<dt>
+<dt class="hdlist1">
GIT_ALTERNATE_OBJECT_DIRECTORIES
</dt>
<dd>
@@ -560,19 +648,19 @@ GIT_ALTERNATE_OBJECT_DIRECTORIES
</div>
<h2 id="_author">Author</h2>
<div class="sectionbody">
-<div class="para"><p>Written by Linus Torvalds &lt;torvalds@osdl.org&gt;</p></div>
+<div class="paragraph"><p>Written by Linus Torvalds &lt;<a href="mailto:torvalds@osdl.org">torvalds@osdl.org</a>&gt;</p></div>
</div>
<h2 id="_documentation">Documentation</h2>
<div class="sectionbody">
-<div class="para"><p>Documentation by David Greaves, Junio C Hamano and the git-list &lt;git@vger.kernel.org&gt;.</p></div>
+<div class="paragraph"><p>Documentation by David Greaves, Junio C Hamano and the git-list &lt;<a href="mailto:git@vger.kernel.org">git@vger.kernel.org</a>&gt;.</p></div>
</div>
<h2 id="_git">GIT</h2>
<div class="sectionbody">
-<div class="para"><p>Part of the <a href="git.html">git(1)</a> suite</p></div>
+<div class="paragraph"><p>Part of the <a href="git.html">git(1)</a> suite</p></div>
</div>
<div id="footer">
<div id="footer-text">
-Last updated 2010-09-18 23:56:44 UTC
+Last updated 2010-12-20 10:07:36 UTC
</div>
</div>
</body>