Re: [PATCH] use natural ordering to display list of branches.
- From
Cedric Vivier <cedricv@neonux.com>
- Date
- Jun 7, 2008, 00:43 UTC
- Message-ID
- <d45085aa0806061743w65df3cd7pe4cf5fa29f83930a@mail.gmail.com>
- In-Reply-To
- <7vej7aqetd.fsf@gitster.siamese.dyndns.org>
On Sat, Jun 7, 2008 at 2:17 AM, Junio C Hamano <gitster@pobox.com> wrote:
> Somebody suggested strvercmp(); how does the natcmp() compare with it? >
Yeah I did, as a heads-up from the discussion on the apache mailing-list linked earlier. I've just checked out glibc's implementation, the result would be the same, the code seems better to me, and there is no doubt the license is 100% compatible this way [1], sounds cool.
[1] as I guess we'd still have to borrow the code from glibc and put it into git's compat/ directory (or whatever name is choosen in the end for this kind of borrowed stuff) to make it work on non-glibc platforms (?)