Skip to content

Commit 64f7a26

Browse files
mhaggergitster
authored andcommitted
git tag: mention versionsort.prereleaseSuffix in manpage
Signed-off-by: Michael Haggerty <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 5751a3d commit 64f7a26

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

Documentation/git-tag.txt

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -98,10 +98,13 @@ OPTIONS
9898
--sort=<type>::
9999
Sort in a specific order. Supported type is "refname"
100100
(lexicographic order), "version:refname" or "v:refname" (tag
101-
names are treated as versions). Prepend "-" to reverse sort
102-
order. When this option is not given, the sort order defaults to the
103-
value configured for the 'tag.sort' variable if it exists, or
104-
lexicographic order otherwise. See linkgit:git-config[1].
101+
names are treated as versions). The "version:refname" sort
102+
order can also be affected by the
103+
"versionsort.prereleaseSuffix" configuration variable. Prepend
104+
"-" to reverse sort order. When this option is not given, the
105+
sort order defaults to the value configured for the 'tag.sort'
106+
variable if it exists, or lexicographic order otherwise. See
107+
linkgit:git-config[1].
105108

106109
--column[=<options>]::
107110
--no-column::

0 commit comments

Comments
 (0)