summaryrefslogtreecommitdiffstats
path: root/git-check-attr.html
diff options
context:
space:
mode:
authorJunio C Hamano <junio@kernel.org>2011-08-18 06:13:13 +0000
committerJunio C Hamano <junio@kernel.org>2011-08-18 06:13:13 +0000
commitf727901f143d965c00ad283c9cfaee214464e9fd (patch)
tree257c17b95a31532b7e1365bb5d6f5281afb18dea /git-check-attr.html
parentdf1f3a600a762224ed9c8a5e5123d5bc9e971c12 (diff)
downloadgit-htmldocs-f727901f143d965c00ad283c9cfaee214464e9fd.tar.gz
Autogenerated HTML docs for v1.7.6-549-gf85a0
Diffstat (limited to 'git-check-attr.html')
-rw-r--r--git-check-attr.html35
1 files changed, 30 insertions, 5 deletions
diff --git a/git-check-attr.html b/git-check-attr.html
index 6e5fb00ba..1c27f89e1 100644
--- a/git-check-attr.html
+++ b/git-check-attr.html
@@ -415,8 +415,8 @@ git-check-attr(1) Manual Page
<h2 id="_synopsis">SYNOPSIS</h2>
<div class="sectionbody">
<div class="verseblock">
-<div class="verseblock-content"><em>git check-attr</em> attr&#8230; [--] pathname&#8230;
-<em>git check-attr</em> --stdin [-z] attr&#8230; &lt; &lt;list-of-paths&gt;</div>
+<div class="verseblock-content"><em>git check-attr</em> [-a | --all | attr&#8230;] [--] pathname&#8230;
+<em>git check-attr</em> --stdin [-z] [-a | --all | attr&#8230;] &lt; &lt;list-of-paths&gt;</div>
<div class="verseblock-attribution">
</div></div>
</div>
@@ -429,6 +429,16 @@ git-check-attr(1) Manual Page
<div class="sectionbody">
<div class="dlist"><dl>
<dt class="hdlist1">
+-a, --all
+</dt>
+<dd>
+<p>
+ List all attributes that are associated with the specified
+ paths. If this option is used, then <em>unspecified</em> attributes
+ will not be included in the output.
+</p>
+</dd>
+<dt class="hdlist1">
--stdin
</dt>
<dd>
@@ -451,11 +461,13 @@ git-check-attr(1) Manual Page
<dd>
<p>
Interpret all preceding arguments as attributes and all following
- arguments as path names. If not supplied, only the first argument will
- be treated as an attribute.
+ arguments as path names.
</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
+will be treated as an attribute and the rest of the arguments as
+pathnames.</p></div>
</div>
<h2 id="_output">OUTPUT</h2>
<div class="sectionbody">
@@ -536,6 +548,19 @@ org/example/MyClass.java: myAttr: set</tt></pre>
<div class="ulist"><ul>
<li>
<p>
+Listing all attributes for a file:
+</p>
+</li>
+</ul></div>
+<div class="listingblock">
+<div class="content">
+<pre><tt>$ git check-attr --all -- org/example/MyClass.java
+org/example/MyClass.java: diff: java
+org/example/MyClass.java: myAttr: set</tt></pre>
+</div></div>
+<div class="ulist"><ul>
+<li>
+<p>
Listing an attribute for multiple files:
</p>
</li>
@@ -569,7 +594,7 @@ README: caveat: unspecified</tt></pre>
</div>
<div id="footer">
<div id="footer-text">
-Last updated 2011-03-15 23:30:13 UTC
+Last updated 2011-08-18 06:09:28 UTC
</div>
</div>
</body>