summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2014-03-21 12:47:38 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2014-03-21 12:47:39 -0700
commitb6de0c633e60424d8d7e31a6557854683f2e4e43 (patch)
tree7541328e51e993fc2bb550138dc31dc960cb04fd /Documentation
parentMerge branch 'jk/shallow-update-fix' (diff)
parenttag: support --sort=<spec> (diff)
downloadtgif-b6de0c633e60424d8d7e31a6557854683f2e4e43.tar.xz
Merge branch 'nd/tag-version-sort'
Allow v1.9.0 sorted before v1.10.0 in "git tag --list" output. * nd/tag-version-sort: tag: support --sort=<spec>
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/git-tag.txt6
1 files changed, 6 insertions, 0 deletions
diff --git a/Documentation/git-tag.txt b/Documentation/git-tag.txt
index 404257df9f..b424a1bc48 100644
--- a/Documentation/git-tag.txt
+++ b/Documentation/git-tag.txt
@@ -95,6 +95,12 @@ OPTIONS
using fnmatch(3)). Multiple patterns may be given; if any of
them matches, the tag is shown.
+--sort=<type>::
+ 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.
+
--column[=<options>]::
--no-column::
Display tag listing in columns. See configuration variable