summaryrefslogtreecommitdiff
path: root/Documentation/git-tag.txt
diff options
context:
space:
mode:
authorJacob Keller <jacob.e.keller@intel.com>2014-07-16 21:48:02 (GMT)
committerJunio C Hamano <gitster@pobox.com>2014-07-17 16:22:20 (GMT)
commitb150794dafb0a7a1c5caba6fdf7d517a1a15cb59 (patch)
treec9be5e6f007751afc160a475fa96040ea048f471 /Documentation/git-tag.txt
parentdc662d449f56cb969025db4fe54fa3374777495c (diff)
downloadgit-b150794dafb0a7a1c5caba6fdf7d517a1a15cb59.zip
git-b150794dafb0a7a1c5caba6fdf7d517a1a15cb59.tar.gz
git-b150794dafb0a7a1c5caba6fdf7d517a1a15cb59.tar.bz2
tag: support configuring --sort via .gitconfig
Add support for configuring default sort ordering for git tags. Command line option will override this configured value, using the exact same syntax. Cc: Jeff King <peff@peff.net> Signed-off-by: Jacob Keller <jacob.e.keller@intel.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/git-tag.txt')
-rw-r--r--Documentation/git-tag.txt5
1 files changed, 4 insertions, 1 deletions
diff --git a/Documentation/git-tag.txt b/Documentation/git-tag.txt
index b424a1b..3209083 100644
--- a/Documentation/git-tag.txt
+++ b/Documentation/git-tag.txt
@@ -99,7 +99,9 @@ OPTIONS
Sort in a specific order. Supported type is "refname"
(lexicographic order), "version:refname" or "v:refname" (tag
names are treated as versions). Prepend "-" to reverse sort
- order.
+ order. When this option is not given, the sort order defaults to the
+ value configured for the 'tag.sort' variable if it exists, or
+ lexicographic order otherwise. See linkgit:git-config[1].
--column[=<options>]::
--no-column::
@@ -317,6 +319,7 @@ include::date-formats.txt[]
SEE ALSO
--------
linkgit:git-check-ref-format[1].
+linkgit:git-config[1].
GIT
---