git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* sort entries numerically
@ 2014-06-07  6:05 Toralf Förster
  2014-06-07 10:38 ` Fredrik Gustafsson
  2014-06-07 10:54 ` Duy Nguyen
  0 siblings, 2 replies; 3+ messages in thread
From: Toralf Förster @ 2014-06-07  6:05 UTC (permalink / raw)
  To: git@vger.kernel.org

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


-- 
Toralf

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: sort entries numerically
  2014-06-07  6:05 sort entries numerically Toralf Förster
@ 2014-06-07 10:38 ` Fredrik Gustafsson
  2014-06-07 10:54 ` Duy Nguyen
  1 sibling, 0 replies; 3+ messages in thread
From: Fredrik Gustafsson @ 2014-06-07 10:38 UTC (permalink / raw)
  To: Toralf Förster; +Cc: git@vger.kernel.org

On Sat, Jun 07, 2014 at 08:05:34AM +0200, Toralf Förster wrote:
> 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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: sort entries numerically
  2014-06-07  6:05 sort entries numerically Toralf Förster
  2014-06-07 10:38 ` Fredrik Gustafsson
@ 2014-06-07 10:54 ` Duy Nguyen
  1 sibling, 0 replies; 3+ messages in thread
From: Duy Nguyen @ 2014-06-07 10:54 UTC (permalink / raw)
  To: Toralf Förster; +Cc: git@vger.kernel.org

On Sat, Jun 7, 2014 at 1:05 PM, Toralf Förster <toralf.foerster@gmx.de> wrote:
> 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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2014-06-07 10:56 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-06-07  6:05 sort entries numerically Toralf Förster
2014-06-07 10:38 ` Fredrik Gustafsson
2014-06-07 10:54 ` Duy Nguyen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).