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

Re: sort entries numerically

From
Fredrik Gustafsson <iveqy@iveqy.com>
Date
Jun 7, 2014, 10:38 UTC
Message-ID
<20140607103805.GD4015@paksenarrion.iveqy.com>
In-Reply-To
<5392ABAE.6030208@gmx.de>
On Sat, Jun 07, 2014 at 08:05:34AM +0200, Toralf Förster wrote:
Show 8 quoted lines
> 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
I don't find anything about it in git branch man page. However there's always:
git <command> | sort -d -r
as a workaround.
-- 
Med vänlig hälsning
Fredrik Gustafsson

tel: 0733-608274
e-post: iveqy@iveqy.com
Previous: Toralf FörsterNext: Duy Nguyen
Message 2 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.