From: Duy Nguyen Date: Wed, 26 Feb 2014 11:11:54 GMT Subject: Re: [PATCH v3] tag: support --sort= Message-ID: In-Reply-To: <20140226110803.GG25711@sigill.intra.peff.net> On Wed, Feb 26, 2014 at 6:08 PM, Jeff King wrote: > I'd worry slightly, though, that there are other schemes where that > behaves poorly. Should we optimize for git's version numbering, or for > what most other projects want? There could even be room for two types of > version-compare. But before thinking about that, I'd want to know why > glibc behaves as it does. We don't have to force one version style for all projects. We could provide --sort="thisver:refname" vs. "thatver:refname", or put the "-pre" part in config file. The important thing is we can control the version algorithm. -- Duy