git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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 (?)

Previous: Junio C HamanoNext: Junio C Hamano
Message 20 of 27 in “use natural ordering to display list of branches.”
  1. use natural ordering to display list of branches.Cedric Vivier, Jun 5, 2008
  2. Johannes SchindelinJun 5, 2008
  3. Junio C HamanoJun 5, 2008
  4. Johannes SchindelinJun 5, 2008
  5. Cedric VivierJun 5, 2008
  6. Marius Storm-OlsenJun 5, 2008
  7. Paolo BonziniJun 6, 2008
  8. Johannes SchindelinJun 6, 2008
  9. Sverre RabbelierJun 6, 2008
  10. Paolo BonziniJun 6, 2008
  11. Brandon CaseyJun 6, 2008
  12. Cedric VivierJun 6, 2008
  13. Brandon CaseyJun 6, 2008
  14. Johannes SchindelinJun 6, 2008
  15. Junio C HamanoJun 6, 2008
  16. Asheesh LaroiaJun 6, 2008
  17. Jeff KingJun 7, 2008
  18. Cedric VivierJun 7, 2008
  19. Junio C HamanoJun 7, 2008
  20. Cedric VivierJun 7, 2008
  21. Junio C HamanoJun 7, 2008
  22. しらいしななこJun 6, 2008
  23. Ask Bjørn HansenJun 15, 2008
  24. Mike RalphsonJun 6, 2008
  25. Cedric VivierJun 6, 2008
  26. Mike RalphsonJun 6, 2008
  27. Andreas EricssonJun 9, 2008

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.