summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2015-03-20 13:11:45 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2015-03-20 13:11:45 -0700
commitf57610a1ff7a547d1e11e24f942b1703cea81f81 (patch)
treeb1157b51c682216794a750556aae362830ade856 /Documentation
parentPost 2.3 cyce (batch #10) (diff)
parentconfig.txt: update versioncmp.prereleaseSuffix (diff)
downloadtgif-f57610a1ff7a547d1e11e24f942b1703cea81f81.tar.xz
Merge branch 'nd/versioncmp-prereleases'
The versionsort.prerelease configuration variable can be used to specify that v1.0-pre1 comes before v1.0. * nd/versioncmp-prereleases: config.txt: update versioncmp.prereleaseSuffix versionsort: support reorder prerelease suffixes
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/config.txt12
1 files changed, 12 insertions, 0 deletions
diff --git a/Documentation/config.txt b/Documentation/config.txt
index f1bc0f2d8c..35a5198856 100644
--- a/Documentation/config.txt
+++ b/Documentation/config.txt
@@ -2560,6 +2560,18 @@ user.signingkey::
This option is passed unchanged to gpg's --local-user parameter,
so you may specify a key using any method that gpg supports.
+versionsort.prereleaseSuffix::
+ When version sort is used in linkgit:git-tag[1], prerelease
+ tags (e.g. "1.0-rc1") may appear after the main release
+ "1.0". By specifying the suffix "-rc" in this variable,
+ "1.0-rc1" will appear before "1.0".
++
+This variable can be specified multiple times, once per suffix. The
+order of suffixes in the config file determines the sorting order
+(e.g. if "-pre" appears before "-rc" in the config file then 1.0-preXX
+is sorted before 1.0-rcXX). The sorting order between different
+suffixes is undefined if they are in multiple config files.
+
web.browser::
Specify a web browser that may be used by some commands.
Currently only linkgit:git-instaweb[1] and linkgit:git-help[1]