Re: [PATCH v4] tag: support --sort=<spec>
- From
Duy Nguyen <pclouds@gmail.com>
- Date
- Feb 27, 2014, 13:23 UTC
- Message-ID
- <CACsJy8DZH_Bi3UCNuGTA4K47Qp=h+52kPxcuRDjFt19je3DWqw@mail.gmail.com>
- In-Reply-To
- <20140227131100.GA22783@sigill.intra.peff.net>
On Thu, Feb 27, 2014 at 8:11 PM, Jeff King <peff@peff.net> wrote:
> You had mentioned earlier tweaking the version comparison to handle > things like -rc better. I think that can come on top of this initial > patch, but we should probably figure out the final sort order before > including this in a release.
Yeah I have been thinking about it too. That's why I did not send the reroll "shortly" as I said. So far I like the idea of using config file to specify -rc and the like. If XX is in the configured list and it's the last component in the version string, then reorder it. Seems to work well with different versioning schemes listed at http://en.wikipedia.org/wiki/Software_versioning.
-- Duy