summaryrefslogtreecommitdiffstats
path: root/git-check-attr.html
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2014-10-31 13:25:53 -0700
committerJunio C Hamano <gitster@pobox.com>2014-10-31 13:25:53 -0700
commitc14e6ad9a230ad90c84b7f620d87fbe49a2d0342 (patch)
tree120346dc383e3d1c4219fe8c533eb22cb6af2b55 /git-check-attr.html
parent2a4bcbc355496c8d83b1b9f8892c4cbe8f584158 (diff)
downloadgit-htmldocs-c14e6ad9a230ad90c84b7f620d87fbe49a2d0342.tar.gz
Autogenerated HTML docs for v2.2.0-rc0
Diffstat (limited to 'git-check-attr.html')
-rw-r--r--git-check-attr.html70
1 files changed, 34 insertions, 36 deletions
diff --git a/git-check-attr.html b/git-check-attr.html
index a576e8021..a4264f816 100644
--- a/git-check-attr.html
+++ b/git-check-attr.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.6" />
+<meta name="generator" content="AsciiDoc 8.6.9" />
<title>git-check-attr(1)</title>
<style type="text/css">
/* Shared CSS for AsciiDoc xhtml11 and html5 backends */
@@ -87,10 +87,16 @@ ul, ol, li > p {
ul > li { color: #aaa; }
ul > li > * { color: black; }
-pre {
+.monospaced, code, pre {
+ font-family: "Courier New", Courier, monospace;
+ font-size: inherit;
+ color: navy;
padding: 0;
margin: 0;
}
+pre {
+ white-space: pre-wrap;
+}
#author {
color: #527bbd;
@@ -219,7 +225,7 @@ div.exampleblock > div.content {
}
div.imageblock div.content { padding-left: 0; }
-span.image img { border-style: none; }
+span.image img { border-style: none; vertical-align: text-bottom; }
a.image:visited { color: white; }
dl {
@@ -349,7 +355,7 @@ div.colist td img {
margin-bottom: 0.1em;
}
-div.toclevel1, div.toclevel2, div.toclevel3, div.toclevel4 {
+div.toclevel0, div.toclevel1, div.toclevel2, div.toclevel3, div.toclevel4 {
margin-top: 0;
margin-bottom: 0;
}
@@ -407,18 +413,14 @@ 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,12 +454,6 @@ div.tableblock > table[frame="vsides"] {
*
* */
-.monospaced {
- font-family: monospace;
- font-size: inherit;
- color: navy;
-}
-
table.tableblock {
margin-top: 1.0em;
margin-bottom: 1.5em;
@@ -537,6 +533,8 @@ body.manpage div.sectionbody {
@media print {
body.manpage div#toc { display: none; }
}
+
+
</style>
<script type="text/javascript">
/*<![CDATA[*/
@@ -581,7 +579,7 @@ toc: function (toclevels) {
function tocEntries(el, toclevels) {
var result = new Array;
- var re = new RegExp('[hH]([2-'+(toclevels+1)+'])');
+ var re = new RegExp('[hH]([1-'+(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).
@@ -610,7 +608,7 @@ toc: function (toclevels) {
var i;
for (i = 0; i < toc.childNodes.length; i++) {
var entry = toc.childNodes[i];
- if (entry.nodeName == 'div'
+ if (entry.nodeName.toLowerCase() == 'div'
&& entry.getAttribute("class")
&& entry.getAttribute("class").match(/^toclevel/))
tocEntriesToRemove.push(entry);
@@ -656,7 +654,7 @@ footnotes: function () {
var entriesToRemove = [];
for (i = 0; i < noteholder.childNodes.length; i++) {
var entry = noteholder.childNodes[i];
- if (entry.nodeName == 'div' && entry.getAttribute("class") == "footnote")
+ if (entry.nodeName.toLowerCase() == 'div' && entry.getAttribute("class") == "footnote")
entriesToRemove.push(entry);
}
for (i = 0; i < entriesToRemove.length; i++) {
@@ -782,7 +780,7 @@ git-check-attr(1) Manual Page
</dt>
<dd>
<p>
- Consider <tt>.gitattributes</tt> in the index only, ignoring the working tree.
+ Consider <code>.gitattributes</code> in the index only, ignoring the working tree.
</p>
</dd>
<dt class="hdlist1">
@@ -799,7 +797,7 @@ git-check-attr(1) Manual Page
<dd>
<p>
The output format is modified to be machine-parseable.
- If <tt>--stdin</tt> is also given, input paths are separated
+ If <code>--stdin</code> is also given, input paths are separated
with a NUL character instead of a linefeed character.
</p>
</dd>
@@ -813,7 +811,7 @@ git-check-attr(1) Manual Page
</p>
</dd>
</dl></div>
-<div class="paragraph"><p>If none of <tt>--stdin</tt>, <tt>--all</tt>, or <tt>--</tt> is used, the first argument
+<div class="paragraph"><p>If none of <code>--stdin</code>, <code>--all</code>, or <code>--</code> is used, the first argument
will be treated as an attribute and the rest of the arguments as
pathnames.</p></div>
</div>
@@ -823,7 +821,7 @@ pathnames.</p></div>
<div class="sectionbody">
<div class="paragraph"><p>The output is of the form:
&lt;path&gt; COLON SP &lt;attribute&gt; COLON SP &lt;info&gt; LF</p></div>
-<div class="paragraph"><p>unless <tt>-z</tt> is in effect, in which case NUL is used as delimiter:
+<div class="paragraph"><p>unless <code>-z</code> is in effect, in which case NUL is used as delimiter:
&lt;path&gt; NUL &lt;attribute&gt; NUL &lt;info&gt; NUL</p></div>
<div class="paragraph"><p>&lt;path&gt; is the path of a file being queried, &lt;attribute&gt; is an attribute
being queried and &lt;info&gt; can be either:</p></div>
@@ -861,7 +859,7 @@ when a value has been assigned to the attribute.
</p>
</dd>
</dl></div>
-<div class="paragraph"><p>Buffering happens as documented under the <tt>GIT_FLUSH</tt> option in
+<div class="paragraph"><p>Buffering happens as documented under the <code>GIT_FLUSH</code> option in
<a href="git.html">git(1)</a>. The caller is responsible for avoiding deadlocks
caused by overfilling an input buffer or reading from an empty output
buffer.</p></div>
@@ -873,9 +871,9 @@ buffer.</p></div>
<div class="paragraph"><p>In the examples, the following <em>.gitattributes</em> file is used:</p></div>
<div class="listingblock">
<div class="content">
-<pre><tt>*.java diff=java -crlf myAttr
+<pre><code>*.java diff=java -crlf myAttr
NoMyAttr.java !myAttr
-README caveat=unspecified</tt></pre>
+README caveat=unspecified</code></pre>
</div></div>
<div class="ulist"><ul>
<li>
@@ -886,8 +884,8 @@ Listing a single attribute:
</ul></div>
<div class="listingblock">
<div class="content">
-<pre><tt>$ git check-attr diff org/example/MyClass.java
-org/example/MyClass.java: diff: java</tt></pre>
+<pre><code>$ git check-attr diff org/example/MyClass.java
+org/example/MyClass.java: diff: java</code></pre>
</div></div>
<div class="ulist"><ul>
<li>
@@ -898,10 +896,10 @@ Listing multiple attributes for a file:
</ul></div>
<div class="listingblock">
<div class="content">
-<pre><tt>$ git check-attr crlf diff myAttr -- org/example/MyClass.java
+<pre><code>$ git check-attr crlf diff myAttr -- org/example/MyClass.java
org/example/MyClass.java: crlf: unset
org/example/MyClass.java: diff: java
-org/example/MyClass.java: myAttr: set</tt></pre>
+org/example/MyClass.java: myAttr: set</code></pre>
</div></div>
<div class="ulist"><ul>
<li>
@@ -912,9 +910,9 @@ Listing all attributes for a file:
</ul></div>
<div class="listingblock">
<div class="content">
-<pre><tt>$ git check-attr --all -- org/example/MyClass.java
+<pre><code>$ git check-attr --all -- org/example/MyClass.java
org/example/MyClass.java: diff: java
-org/example/MyClass.java: myAttr: set</tt></pre>
+org/example/MyClass.java: myAttr: set</code></pre>
</div></div>
<div class="ulist"><ul>
<li>
@@ -925,9 +923,9 @@ Listing an attribute for multiple files:
</ul></div>
<div class="listingblock">
<div class="content">
-<pre><tt>$ git check-attr myAttr -- org/example/MyClass.java org/example/NoMyAttr.java
+<pre><code>$ git check-attr myAttr -- org/example/MyClass.java org/example/NoMyAttr.java
org/example/MyClass.java: myAttr: set
-org/example/NoMyAttr.java: myAttr: unspecified</tt></pre>
+org/example/NoMyAttr.java: myAttr: unspecified</code></pre>
</div></div>
<div class="ulist"><ul>
<li>
@@ -938,8 +936,8 @@ Not all values are equally unambiguous:
</ul></div>
<div class="listingblock">
<div class="content">
-<pre><tt>$ git check-attr caveat README
-README: caveat: unspecified</tt></pre>
+<pre><code>$ git check-attr caveat README
+README: caveat: unspecified</code></pre>
</div></div>
</div>
</div>