Re: [RFC/PATCH] branch: show me the hot branches

2013-05-16 Thread Ramkumar Ramachandra
Duy Nguyen wrote: > I tried a more generic approach a while ago. > > http://thread.gmane.org/gmane.comp.version-control.git/188705 Looks good. Why didn't you polish it for inclusion? It's a very useful feature in my opinion: the default git branch output is quite horrible. I want to make sort,

Re: [RFC/PATCH] branch: show me the hot branches

2013-05-15 Thread Phil Hord
On Tue, May 14, 2013 at 7:34 PM, Junio C Hamano wrote: > Phil Hord writes: > >> I imagine it with --date-order and whatnot. > > Perhaps modeled after this one. > > git for-each-ref \ > --format='%(refname:short) %(subject)' > --sort='-committerdate' refs/heads/ > Nice. I had

Re: [RFC/PATCH] branch: show me the hot branches

2013-05-14 Thread Duy Nguyen
On Tue, May 14, 2013 at 3:02 AM, Ramkumar Ramachandra wrote: > Uses commit->date to sort displayed refs. > > Signed-off-by: Ramkumar Ramachandra > --- > Just had this idea and wrote it down in five minutes. The > implementation is only meant to be indicative. > > Isn't this awesome? I tried

Re: [RFC/PATCH] branch: show me the hot branches

2013-05-14 Thread Junio C Hamano
Phil Hord writes: > I imagine it with --date-order and whatnot. Perhaps modeled after this one. git for-each-ref \ --format='%(refname:short) %(subject)' --sort='-committerdate' refs/heads/ -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a m

Re: [RFC/PATCH] branch: show me the hot branches

2013-05-14 Thread Phil Hord
On Mon, May 13, 2013 at 4:02 PM, Ramkumar Ramachandra wrote: > Uses commit->date to sort displayed refs. > > Signed-off-by: Ramkumar Ramachandra > --- I dig it. I imagine it with --date-order and whatnot. But I might like it even better if it were reverse-sorted. Maybe it needs -rt for that.

[RFC/PATCH] branch: show me the hot branches

2013-05-13 Thread Ramkumar Ramachandra
Uses commit->date to sort displayed refs. Signed-off-by: Ramkumar Ramachandra --- Just had this idea and wrote it down in five minutes. The implementation is only meant to be indicative. Isn't this awesome? builtin/branch.c | 32 +--- 1 file changed, 29 insertio