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

Re: [PATCH] use natural ordering to display list of branches.

From
Brandon Casey <casey@nrlssc.navy.mil>
Date
Jun 6, 2008, 21:04 UTC
Message-ID
<Jx4nZtFGdU-iUxlX24G6lzMyWe99Z53jtjQp9T9qkMJ1iZC0eZW6xg@cipher.nrlssc.navy.mil>
In-Reply-To
<alpine.DEB.1.00.0806061911300.1783@racer>
Johannes Schindelin wrote:
Show 10 quoted lines
> Hi,
> 
> On Fri, 6 Jun 2008, Paolo Bonzini wrote:
> 
>>> What about people preferring the status quo?  I think a command line 
>>> option would be in order.'
>> config option seems more useful.
> 
> Except, of course, if you have a script that wants to override whatever 
> the user set in her config.

But can't that be just as easily done by piping through sort? (I understand there is a platform which lacks the sort utility, boohoo)

Is there some legitimate function that depends on the order of listed branches (or tags)?

Rather this seems like one of those things where everyone should either welcome the functionality or be indifferent to it. Adding yet another toggle for this sort of user-interface tweak seems like over-kill. It is not costless, it adds complexity to the code and to the user interface.

If someone wants to list their branches alphabetically, or reverse alphabetically, or if they only want to see branches beginning with 'BUG-', why isn't it enough to just use the functionality provided by the command line?

bikeshedmode = off
-brandon
Previous: Paolo BonziniNext: Cedric Vivier
Message 11 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.