summaryrefslogtreecommitdiffstats
path: root/man1/git-name-rev.1
diff options
context:
space:
mode:
Diffstat (limited to 'man1/git-name-rev.1')
-rw-r--r--man1/git-name-rev.120
1 files changed, 8 insertions, 12 deletions
diff --git a/man1/git-name-rev.1 b/man1/git-name-rev.1
index 30f69b7c4..39d658479 100644
--- a/man1/git-name-rev.1
+++ b/man1/git-name-rev.1
@@ -2,12 +2,12 @@
.\" Title: git-name-rev
.\" Author: [FIXME: author] [see http://www.docbook.org/tdg5/en/html/author]
.\" Generator: DocBook XSL Stylesheets vsnapshot <http://docbook.sf.net/>
-.\" Date: 2023-05-11
+.\" Date: 2023-05-15
.\" Manual: Git Manual
-.\" Source: Git 2.40.1.556.g5bc069e383
+.\" Source: Git 2.41.0.rc0
.\" Language: English
.\"
-.TH "GIT\-NAME\-REV" "1" "2023\-05\-11" "Git 2\&.40\&.1\&.556\&.g5bc069" "Git Manual"
+.TH "GIT\-NAME\-REV" "1" "2023\-05\-15" "Git 2\&.41\&.0\&.rc0" "Git Manual"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------
@@ -33,7 +33,7 @@ git-name-rev \- Find symbolic names for given revs
.sp
.nf
\fIgit name\-rev\fR [\-\-tags] [\-\-refs=<pattern>]
- ( \-\-all | \-\-stdin | <commit\-ish>\&... )
+ ( \-\-all | \-\-annotate\-stdin | <commit\-ish>\&... )
.fi
.sp
.SH "DESCRIPTION"
@@ -67,7 +67,9 @@ List all commits reachable from all refs
.PP
\-\-annotate\-stdin
.RS 4
-Transform stdin by substituting all the 40\-character SHA\-1 hexes (say $hex) with "$hex ($rev_name)"\&. When used with \-\-name\-only, substitute with "$rev_name", omitting $hex altogether\&.
+Transform stdin by substituting all the 40\-character SHA\-1 hexes (say $hex) with "$hex ($rev_name)"\&. When used with \-\-name\-only, substitute with "$rev_name", omitting $hex altogether\&. This option was called
+\fB\-\-stdin\fR
+in older versions of Git\&.
.sp
For example:
.sp
@@ -99,12 +101,6 @@ while its tree object is 70d105cc79e63b81cfdcb08a15297c23e60b07ad
.sp
.RE
.PP
-\-\-stdin
-.RS 4
-This option is deprecated in favor of
-\fIgit name\-rev \-\-annotate\-stdin\fR\&. They are functionally equivalent\&.
-.RE
-.PP
\-\-name\-only
.RS 4
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 omitted from the name, matching the output of
@@ -148,7 +144,7 @@ Another nice thing you can do is:
.RS 4
.\}
.nf
-% git log | git name\-rev \-\-stdin
+% git log | git name\-rev \-\-annotate\-stdin
.fi
.if n \{\
.RE