summaryrefslogtreecommitdiffstats
path: root/git-name-rev.html
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2017-02-27 15:37:49 -0800
committerJunio C Hamano <gitster@pobox.com>2017-02-27 15:37:49 -0800
commitcbe0eb29622a497f18818e4481f27636446b86d7 (patch)
treeda1fda656a0a1af2c8056d46ac3175ddcf876b70 /git-name-rev.html
parentfa0dac3fc7e469b539896aae52323ed08805a46c (diff)
downloadgit-htmldocs-cbe0eb29622a497f18818e4481f27636446b86d7.tar.gz
Autogenerated HTML docs for v2.12.0-189-g3bc532
Diffstat (limited to 'git-name-rev.html')
-rw-r--r--git-name-rev.html20
1 files changed, 18 insertions, 2 deletions
diff --git a/git-name-rev.html b/git-name-rev.html
index 373ce4fce..6785cef0b 100644
--- a/git-name-rev.html
+++ b/git-name-rev.html
@@ -779,7 +779,23 @@ format parsable by <em>git rev-parse</em>.</p></div>
<dd>
<p>
Only use refs whose names match a given shell pattern. The pattern
- can be one of branch name, tag name or fully qualified ref name.
+ can be one of branch name, tag name or fully qualified ref name. If
+ given multiple times, use refs whose names match any of the given shell
+ patterns. Use <code>--no-refs</code> to clear any previous ref patterns given.
+</p>
+</dd>
+<dt class="hdlist1">
+--exclude=&lt;pattern&gt;
+</dt>
+<dd>
+<p>
+ Do not use any ref whose name matches a given shell pattern. The
+ pattern can be one of branch name, tag name or fully qualified ref
+ name. If given multiple times, a ref will be excluded when it matches
+ any of the given patterns. When used together with --refs, a ref will
+ be used as a match only when it matches at least one --refs pattern and
+ does not match any --exclude patterns. Use <code>--no-exclude</code> to clear the
+ list of exclude patterns.
</p>
</dd>
<dt class="hdlist1">
@@ -863,7 +879,7 @@ not the context.</p></div>
<div id="footnotes"><hr /></div>
<div id="footer">
<div id="footer-text">
-Last updated 2013-09-17 14:33:14 PDT
+Last updated 2017-02-27 15:37:25 PST
</div>
</div>
</body>