From: Eric Sunshine Date: Wed, 19 Feb 2014 18:43:55 GMT Subject: Re: [PATCH] tag: support --sort=version Message-ID: In-Reply-To: <1392817167-29802-1-git-send-email-pclouds@gmail.com> On Wed, Feb 19, 2014 at 8:39 AM, Nguyễn Thái Ngọc Duy wrote: > --sort=version sorts tags as versions. GNU extension's strverscmp is > used and no real compat implementation is provided so this is Linux only. > > Signed-off-by: Nguyễn Thái Ngọc Duy > --- > diff --git a/Documentation/git-tag.txt b/Documentation/git-tag.txt > index 404257d..fc23dc0 100644 > --- a/Documentation/git-tag.txt > +++ b/Documentation/git-tag.txt > @@ -95,6 +95,10 @@ OPTIONS > using fnmatch(3)). Multiple patterns may be given; if any of > them matches, the tag is shown. > > +--sort=:: > + Sort in a specific order. Supported type is "version". Prepend > + "-" to revert sort order. s/revert/reverse/ > + > --column[=]:: > --no-column:: > Display tag listing in columns. See configuration variable