Re: [PATCH] use natural ordering to display list of branches.
- From
Cedric Vivier <cedricv@neonux.com>
- Date
- Jun 5, 2008, 20:08 UTC
- Message-ID
- <d45085aa0806051308y16bcca95xad126022fd3ee053@mail.gmail.com>
- In-Reply-To
- <alpine.DEB.1.00.0806051946100.21190@racer>
On Thu, Jun 5, 2008 at 8:47 PM, Johannes Schindelin <Johannes.Schindelin@gmx.de> wrote:
> What about people preferring the status quo? I think a command line > option would be in order.
Is there really people preferring the status quo ? ;) Of course we probably need some debate about making it default or not but you're completely right there should be an option about that - and maybe a config variable as well? How about --sort=ascending|descending|natural (with branch.sort as the corresponding config var) ?
> Also, you _might_ want to provide a test case, so that it does not get > broken by accident.
Okay.
> Other than that: nice.
Thanks,
Junio, about the borrowed code, indeed I was not sure where to put it, initialliy I thought using directory strnatcmp/ like it's done for mozilla-sha1/ and xdiff/, but well... probably a more general directory that will be used for other 'borrowed' stuff in the future makes sense.
Regards,