summaryrefslogtreecommitdiffstats
path: root/git-rev-parse.html
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2013-12-06 15:43:18 -0800
committerJunio C Hamano <gitster@pobox.com>2013-12-06 15:43:18 -0800
commitf079f7094a3ce05d8f51729b0f0b6bf2ed594114 (patch)
tree0ab71b025061dae8f2ec4629d129447c437728c4 /git-rev-parse.html
parentb73af6c3bb75d464c5816f310eafe4af58c158a7 (diff)
downloadgit-htmldocs-f079f7094a3ce05d8f51729b0f0b6bf2ed594114.tar.gz
Autogenerated HTML docs for v1.8.5.1-93-g077f4
Diffstat (limited to 'git-rev-parse.html')
-rw-r--r--git-rev-parse.html33
1 files changed, 31 insertions, 2 deletions
diff --git a/git-rev-parse.html b/git-rev-parse.html
index 8541777e1..67547b8bd 100644
--- a/git-rev-parse.html
+++ b/git-rev-parse.html
@@ -811,6 +811,15 @@ distinguish between them.</p></div>
that take options themselves.
</p>
</dd>
+<dt class="hdlist1">
+--stuck-long
+</dt>
+<dd>
+<p>
+ Only meaningful in <code>--parseopt</code> mode. Output the options in their
+ long form if available, and with their arguments stuck.
+</p>
+</dd>
</dl></div>
</div>
<div class="sect2">
@@ -1030,6 +1039,24 @@ shown. If the pattern does not contain a globbing character (<code>?</code>,
</p>
</dd>
<dt class="hdlist1">
+--exclude=&lt;glob-pattern&gt;
+</dt>
+<dd>
+<p>
+ Do not include refs matching <em>&lt;glob-pattern&gt;</em> that the next <code>--all</code>,
+ <code>--branches</code>, <code>--tags</code>, <code>--remotes</code>, or <code>--glob</code> would otherwise
+ consider. Repetitions of this option accumulate exclusion patterns
+ up to the next <code>--all</code>, <code>--branches</code>, <code>--tags</code>, <code>--remotes</code>, or
+ <code>--glob</code> option (other options or arguments do not clear
+ accumlated patterns).
+</p>
+<div class="paragraph"><p>The patterns given should not begin with <code>refs/heads</code>, <code>refs/tags</code>, or
+<code>refs/remotes</code> when applied to <code>--branches</code>, <code>--tags</code>, or <code>--remotes</code>,
+respectively, and they must begin with <code>refs/</code> when applied to <code>--glob</code>
+or <code>--all</code>. If a trailing <em>/&#42;</em> is intended, it must be given
+explicitly.</p></div>
+</dd>
+<dt class="hdlist1">
--disambiguate=&lt;prefix&gt;
</dt>
<dd>
@@ -1645,7 +1672,9 @@ Use <code>=</code> if the option takes an argument.
</li>
<li>
<p>
-Use <code>?</code> to mean that the option is optional (though its use is discouraged).
+Use <code>?</code> to mean that the option takes an optional argument. You
+ probably want to use the <code>--stuck-long</code> mode to be able to
+ unambiguously parse the optional argument.
</p>
</li>
<li>
@@ -1764,7 +1793,7 @@ Similar to above:
<div id="footnotes"><hr /></div>
<div id="footer">
<div id="footer-text">
-Last updated 2013-08-30 16:51:59 PDT
+Last updated 2013-12-06 15:42:42 PST
</div>
</div>
</body>