diff options
author | Junio C Hamano <junio@hera.kernel.org> | 2007-05-22 07:23:37 +0000 |
---|---|---|
committer | Junio C Hamano <junio@hera.kernel.org> | 2007-05-22 07:23:37 +0000 |
commit | 5e284b493e1b24c922c8de3fb1ebcec179039a9c (patch) | |
tree | 4e4c6aceea1d9b41f6c97d0841c3740078e87596 /git-name-rev.html | |
parent | a5c02c50ab1f04e70fb2b0fcfc021e94291f58e8 (diff) | |
download | git-htmldocs-5e284b493e1b24c922c8de3fb1ebcec179039a9c.tar.gz |
Autogenerated HTML docs for v1.5.2-35-ga334
Diffstat (limited to 'git-name-rev.html')
-rw-r--r-- | git-name-rev.html | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/git-name-rev.html b/git-name-rev.html index 517e2edbe..80b261b11 100644 --- a/git-name-rev.html +++ b/git-name-rev.html @@ -317,6 +317,18 @@ format parsable by git-rev-parse.</p> commits, and pass to stdout
</p>
</dd>
+<dt>
+--name-only
+</dt>
+<dd>
+<p>
+ Instead of printing both the SHA-1 and the name, print only
+ the name. If given with --tags the usual tag prefix of
+ "tags/" is also ommitted from the name, matching the output
+ of <a href=":git-describe.html">:git-describe(1)</a> more closely. This option
+ cannot be combined with --stdin.
+</p>
+</dd>
</dl>
</div>
<h2>EXAMPLE</h2>
@@ -352,7 +364,7 @@ not the context.</p> </div>
<div id="footer">
<div id="footer-text">
-Last updated 19-May-2007 04:51:27 UTC
+Last updated 22-May-2007 07:23:07 UTC
</div>
</div>
</body>
|