On Sun, Aug 11, 2013 at 07:16:30AM +0200, Michael Haggerty wrote:
> On 08/11/2013 01:20 AM, Fredrik Gustafsson wrote:
> > [...]
> > It would be very hard to do a tool such as you describe, the reason is
> > that there's no sane way to order your tags. Git today show tags
> > alphabetically, all versions does not have a alphabtic order. [...]
> > It would be quite easy to make a script that create such branch for you,
> > if you only can sort the tags somehow.
> 
> GNU sort has a nice option that can sort this way:
> 
>   -V, --version-sort
>      Sort by version name and number.  It behaves like a standard sort,
>      except that each sequence of decimal digits is treated numerically
>      as an index/version number.

That's a nice feature, I remember we had  that one as a feature request
for git tag just a few days ago. It works well with git.git version
numbers but won't be usefull in this case for git.git since git.git has
other tags too (like the gitgui version tags). However if you've a nice
namespace for the tags where you only tags versions, it might be an
alternative.

-- 
Med vänliga hälsningar
Fredrik Gustafsson

tel: 0733-608274
e-post: iv...@iveqy.com
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to