diff options
author | Junio C Hamano <junio@hera.kernel.org> | 2007-01-16 10:44:47 +0000 |
---|---|---|
committer | Junio C Hamano <junio@hera.kernel.org> | 2007-01-16 10:44:47 +0000 |
commit | 97c11c5144898db4f8848b34bc5f26603c5b6b6a (patch) | |
tree | d116c64fad9eb4d59f71382727d7103044abb74f /git-symbolic-ref.html | |
parent | edd2b0a4fa552d711bcf7561dead9c6c87146701 (diff) | |
download | git-htmldocs-97c11c5144898db4f8848b34bc5f26603c5b6b6a.tar.gz |
Autogenerated HTML docs for v1.5.0-rc1-g6f729
Diffstat (limited to 'git-symbolic-ref.html')
-rw-r--r-- | git-symbolic-ref.html | 22 |
1 files changed, 20 insertions, 2 deletions
diff --git a/git-symbolic-ref.html b/git-symbolic-ref.html index ee6e8be9c..6d871a500 100644 --- a/git-symbolic-ref.html +++ b/git-symbolic-ref.html @@ -272,7 +272,7 @@ git-symbolic-ref(1) Manual Page </div>
<h2>SYNOPSIS</h2>
<div class="sectionbody">
-<p><em>git-symbolic-ref</em> <name> [<ref>]</p>
+<p><em>git-symbolic-ref</em> [-q] <name> [<ref>]</p>
</div>
<h2>DESCRIPTION</h2>
<div class="sectionbody">
@@ -286,6 +286,21 @@ point at the given branch <ref>.</p> begins with <tt>ref: refs/</tt>. For example, your <tt>.git/HEAD</tt> is
a regular file whose contents is <tt>ref: refs/heads/master</tt>.</p>
</div>
+<h2>OPTIONS</h2>
+<div class="sectionbody">
+<dl>
+<dt>
+-q
+</dt>
+<dd>
+<p>
+ Do not issue an error message if the <name> is not a
+ symbolic ref but a detached HEAD; instead exit with
+ non-zero status silently.
+</p>
+</dd>
+</dl>
+</div>
<h2>NOTES</h2>
<div class="sectionbody">
<p>In the past, <tt>.git/HEAD</tt> was a symbolic link pointing at
@@ -298,6 +313,9 @@ or that do not have the <tt>readlink(1)</tt> command, this was a bit cumbersome. On some platforms, <tt>ln -sf</tt> does not even work as
advertised (horrors). Therefore symbolic links are now deprecated
and symbolic refs are used by default.</p>
+<p>git-symbolic-ref will exit with status 0 if the contents of the
+symbolic ref were printed correctly, with status 1 if the requested
+name is not a symbolic ref, or 128 if another error occurs.</p>
</div>
<h2>Author</h2>
<div class="sectionbody">
@@ -309,7 +327,7 @@ and symbolic refs are used by default.</p> </div>
<div id="footer">
<div id="footer-text">
-Last updated 03-Dec-2006 01:53:20 UTC
+Last updated 16-Jan-2007 10:44:38 UTC
</div>
</div>
</body>
|