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

Re: sort entries numerically

From
Duy Nguyen <pclouds@gmail.com>
Date
Jun 7, 2014, 10:54 UTC
Message-ID
<CACsJy8BQfGnWoyaHLkC842MdMq2dpHRqpder6sXdZHCYxzy=Fg@mail.gmail.com>
In-Reply-To
<5392ABAE.6030208@gmx.de>
On Sat, Jun 7, 2014 at 1:05 PM, Toralf Förster <toralf.foerster@gmx.de> wrote:
Show 10 quoted lines
> Hi,
>
> is there any chance to have "1.8" before "1.10" in an output like the following :
>
> ...
> From https://code.wireshark.org/review/wireshark
>    52fe0aa..b69642d  master     -> origin/master
>    460db8a..540f061  master-1.10 -> origin/master-1.10
>    25bb29a..5741a40  master-1.12 -> origin/master-1.12
>    4ee4fc11..97898a2 master-1.8 -> origin/master-1.8

git-tag supports version sorting. Not sure if it should be default sorting order in these listings (from fetch and push?). Maybe we could have a config key for default sorting order.

-- 
Duy
Previous: Fredrik Gustafsson
Message 3 of 3 in “sort entries numerically”
  1. Toralf FörsterJun 7, 2014
  2. Fredrik GustafssonJun 7, 2014
  3. Duy NguyenJun 7, 2014

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.