summaryrefslogtreecommitdiffstats
path: root/git-check-ref-format.html
diff options
context:
space:
mode:
authorJunio C Hamano <junio@hera.kernel.org>2009-04-06 08:26:56 +0000
committerJunio C Hamano <junio@hera.kernel.org>2009-04-06 08:26:56 +0000
commit5f9a6f09653d6397ddb553c1824279557ba878a7 (patch)
tree6e3ce5b5557c79fbde5e52194c671f78651e497e /git-check-ref-format.html
parenta6499d7ec9607dc1c5a1d0ba7be250423250dcfe (diff)
downloadgit-htmldocs-5f9a6f09653d6397ddb553c1824279557ba878a7.tar.gz
Autogenerated HTML docs for v1.6.2.2-446-gfbdc
Diffstat (limited to 'git-check-ref-format.html')
-rw-r--r--git-check-ref-format.html38
1 files changed, 35 insertions, 3 deletions
diff --git a/git-check-ref-format.html b/git-check-ref-format.html
index adab4736a..824d5e2e7 100644
--- a/git-check-ref-format.html
+++ b/git-check-ref-format.html
@@ -320,7 +320,9 @@ git-check-ref-format(1) Manual Page
</div>
<h2>SYNOPSIS</h2>
<div class="sectionbody">
-<div class="para"><p><em>git check-ref-format</em> &lt;refname&gt;</p></div>
+<div class="verseblock">
+<div class="content"><em>git check-ref-format</em> &lt;refname&gt;
+<em>git check-ref-format</em> [--branch] &lt;branchname-shorthand&gt;</div></div>
</div>
<h2 id="_description">DESCRIPTION</h2>
<div class="sectionbody">
@@ -353,7 +355,17 @@ They cannot have ASCII control characters (i.e. bytes whose
</li>
<li>
<p>
-They cannot end with a slash <tt>/</tt>.
+They cannot end with a slash <tt>/</tt> nor a dot <tt>.</tt>.
+</p>
+</li>
+<li>
+<p>
+They cannot end with the sequence <tt>.lock</tt>.
+</p>
+</li>
+<li>
+<p>
+They cannot contain a sequence <tt>@{</tt>.
</p>
</li>
</ol></div>
@@ -383,7 +395,27 @@ A colon <tt>:</tt> is used as in <tt>srcref:dstref</tt> to mean "use srcref's
'git-cat-file': "git cat-file blob v1.3.3:refs.c".
</p>
</li>
+<li>
+<p>
+at-open-brace <tt>@{</tt> is used as a notation to access a reflog entry.
+</p>
+</li>
</ol></div>
+<div class="para"><p>With the <tt>--branch</tt> option, it expands a branch name shorthand and
+prints the name of the branch the shorthand refers to.</p></div>
+</div>
+<h2 id="_example">EXAMPLE</h2>
+<div class="sectionbody">
+<div class="vlist"><dl>
+<dt>
+git check-ref-format --branch @{-1}
+</dt>
+<dd>
+<p>
+Print the name of the previous branch.
+</p>
+</dd>
+</dl></div>
</div>
<h2 id="_git">GIT</h2>
<div class="sectionbody">
@@ -391,7 +423,7 @@ A colon <tt>:</tt> is used as in <tt>srcref:dstref</tt> to mean "use srcref's
</div>
<div id="footer">
<div id="footer-text">
-Last updated 2009-04-02 06:49:46 UTC
+Last updated 2009-04-06 08:26:29 UTC
</div>
</div>
</body>