From: Michael Haggerty <mhagger@alum.mit.edu>
To: Fredrik Gustafsson <iveqy@iveqy.com>
Cc: Kristian Freed <kristian.freed@gmail.com>, git <git@vger.kernel.org>
Subject: Re: How can I automatically create a GIT branch that represents a sequence of tags?
Date: Sun, 11 Aug 2013 07:16:30 +0200 [thread overview]
Message-ID: <52071E2E.2020001@alum.mit.edu> (raw)
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/
next prev parent reply other threads:[~2013-08-11 5:16 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-08-10 22:29 How can I automatically create a GIT branch that represents a sequence of tags? Kristian Freed
2013-08-10 23:20 ` Fredrik Gustafsson
2013-08-11 5:16 ` Michael Haggerty [this message]
2013-08-11 6:20 ` Fredrik Gustafsson
2013-08-11 7:49 ` Philip Oakley
2013-08-11 11:13 ` Kristian Freed
2013-08-11 12:23 ` Fredrik Gustafsson
2013-08-11 9:36 ` Andreas Schwab
2013-08-11 10:16 ` Felipe Contreras
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=52071E2E.2020001@alum.mit.edu \
--to=mhagger@alum.mit.edu \
--cc=git@vger.kernel.org \
--cc=iveqy@iveqy.com \
--cc=kristian.freed@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).