From: Michael Haggerty Date: Sun, 11 Aug 2013 05:16:30 GMT Subject: Re: How can I automatically create a GIT branch that represents a sequence of tags? Message-ID: <52071E2E.2020001@alum.mit.edu> In-Reply-To: <20130810232026.GF25779@paksenarrion.iveqy.com> 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. Michael -- Michael Haggerty mhagger@alum.mit.edu http://softwareswirl.blogspot.com/