summaryrefslogtreecommitdiffstats
path: root/git-rev-parse.html
diff options
context:
space:
mode:
authorJunio C Hamano <junio@kernel.org>2010-01-23 03:02:50 +0000
committerJunio C Hamano <junio@kernel.org>2010-01-23 03:02:50 +0000
commit57827fb28944ab9eee73efc93f04fb6dfc6e36a8 (patch)
tree935f9e461c67a51943bca7879ec02af645e62d67 /git-rev-parse.html
parent364b6a4e15285cad6c674f515c0aa3538cfed028 (diff)
downloadgit-htmldocs-57827fb28944ab9eee73efc93f04fb6dfc6e36a8.tar.gz
Autogenerated HTML docs for v1.6.6.1-436-gaba7d
Diffstat (limited to 'git-rev-parse.html')
-rw-r--r--git-rev-parse.html36
1 files changed, 25 insertions, 11 deletions
diff --git a/git-rev-parse.html b/git-rev-parse.html
index 9018af282..97579d6e3 100644
--- a/git-rev-parse.html
+++ b/git-rev-parse.html
@@ -502,27 +502,35 @@ distinguish between them.</p></div>
</p>
</dd>
<dt>
---branches
+--branches[=pattern]
+</dt>
+<dt>
+--tags[=pattern]
</dt>
-<dd>
-<p>
- Show branch refs found in <tt>$GIT_DIR/refs/heads</tt>.
-</p>
-</dd>
<dt>
---tags
+--remotes[=pattern]
</dt>
<dd>
<p>
- Show tag refs found in <tt>$GIT_DIR/refs/tags</tt>.
+ Show all branches, tags, or remote-tracking branches,
+ respectively (i.e., refs found in <tt>$GIT_DIR/refs/heads</tt>,
+ <tt>$GIT_DIR/refs/tags</tt>, or <tt>$GIT_DIR/refs/remotes</tt>,
+ respectively).
</p>
+<div class="para"><p>If a <tt>pattern</tt> is given, only refs matching the given shell glob are
+shown. If the pattern does not contain a globbing character (<tt>?</tt>,
+<tt>*</tt>, or <tt>[</tt>), it is turned into a prefix match by appending <tt>/*</tt>.</p></div>
</dd>
<dt>
---remotes
+--glob=pattern
</dt>
<dd>
<p>
- Show tag refs found in <tt>$GIT_DIR/refs/remotes</tt>.
+ Show all refs matching the shell glob pattern <tt>pattern</tt>. If
+ the pattern does not start with <tt>refs/</tt>, this is automatically
+ prepended. If the pattern does not contain a globbing
+ character (<tt>?</tt>, <tt>*</tt>, or <tt>[</tt>), it is turned into a prefix
+ match by appending <tt>/*</tt>.
</p>
</dd>
<dt>
@@ -750,6 +758,12 @@ The special construct <em>@{-&lt;n&gt;}</em> means the &lt;n&gt;th branch checke
</li>
<li>
<p>
+ the branch the ref is set to build on top of. Missing ref defaults
+ to the current branch.
+</p>
+</li>
+<li>
+<p>
A suffix <em>&#94;</em> to a revision parameter means the first parent of
that commit object. <em>&#94;&lt;n&gt;</em> means the &lt;n&gt;th parent (i.e.
<em>rev&#94;</em>
@@ -1042,7 +1056,7 @@ Junio C Hamano &lt;gitster@pobox.com&gt; and Pierre Habouzit &lt;madcoder@debian
</div>
<div id="footer">
<div id="footer-text">
-Last updated 2010-01-21 17:44:37 UTC
+Last updated 2010-01-23 03:02:29 UTC
</div>
</div>
</body>