git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH 2/5] git tag: mention versionsort.prereleaseSuffix in manpage

From
Junio C Hamano <gitster@pobox.com>
Date
Apr 23, 2015, 18:28 UTC
Message-ID
<xmqqr3ra3di0.fsf@gitster.dls.corp.google.com>
In-Reply-To
<1429792070-22991-3-git-send-email-mhagger@alum.mit.edu>
Michael Haggerty <mhagger@alum.mit.edu> writes:
> Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu>
> ---
Makes sense; will queue on nd/versioncmp-prereleases.
Thanks.
Show 25 quoted lines
>  Documentation/git-tag.txt | 11 +++++++----
>  1 file changed, 7 insertions(+), 4 deletions(-)
>
> diff --git a/Documentation/git-tag.txt b/Documentation/git-tag.txt
> index bfba4ef..f5b267e 100644
> --- a/Documentation/git-tag.txt
> +++ b/Documentation/git-tag.txt
> @@ -98,10 +98,13 @@ OPTIONS
>  --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. 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].
> +	names are treated as versions). The "version:refname" sort
> +	order can also be affected by the
> +	"versionsort.prereleaseSuffix" configuration variable. Prepend
> +	"-" to reverse sort 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::
Previous: Michael HaggertyNext: Michael Haggerty
Message 5 of 11 in “Tweak the 2.4.0 release notes and related docs”
  1. 0/5 Tweak the 2.4.0 release notes and related docsMichael Haggerty, Apr 23, 2015
  2. 1/5 status: document the -v/--verbose optionMichael Haggerty, Apr 23, 2015
  3. Junio C HamanoApr 23, 2015
  4. 2/5 git tag: mention versionsort.prereleaseSuffix in manpageMichael Haggerty, Apr 23, 2015
  5. Junio C HamanoApr 23, 2015
  6. 3/5 RelNotes: correct name of versionsort.prereleaseSuffixMichael Haggerty, Apr 23, 2015
  7. Junio C HamanoApr 23, 2015
  8. 4/5 RelNotes: refer to the rebase -i "todo list", not "insn sheet"Michael Haggerty, Apr 23, 2015
  9. 5/5 RelNotes: wordsmithingMichael Haggerty, Apr 23, 2015
  10. Michael HaggertyApr 23, 2015
  11. Junio C HamanoApr 23, 2015

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.