Skip to content

Commit 5751a3d

Browse files
pcloudsgitster
authored andcommitted
config.txt: update versioncmp.prereleaseSuffix
Signed-off-by: Nguyễn Thái Ngọc Duy <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent d811c8e commit 5751a3d

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

Documentation/config.txt

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2527,8 +2527,13 @@ versionsort.prereleaseSuffix::
25272527
When version sort is used in linkgit:git-tag[1], prerelease
25282528
tags (e.g. "1.0-rc1") may appear after the main release
25292529
"1.0". By specifying the suffix "-rc" in this variable,
2530-
"1.0-rc1" will appear before "1.0". One variable assignment
2531-
per suffix.
2530+
"1.0-rc1" will appear before "1.0".
2531+
+
2532+
This variable can be specified multiple times, once per suffix. The
2533+
order of suffixes in the config file determines the sorting order
2534+
(e.g. if "-pre" appears before "-rc" in the config file then 1.0-preXX
2535+
is sorted before 1.0-rcXX). The sorting order between different
2536+
suffixes is undefined if they are in multiple config files.
25322537

25332538
web.browser::
25342539
Specify a web browser that may be used by some commands.

0 commit comments

Comments
 (0)