Re: Improving git branch

2014-12-21 Thread Moritz Neeb
Jeff King peff.net> writes: > > On Wed, Dec 17, 2014 at 12:53:49PM -0800, Junio C Hamano wrote: > > > Michael J Gruber drmicha.warpmail.net> writes: > > > > > Rather than extending "git branch" any further[*], I suggest a bolder > > > strategy: > > > > > > - unify/merge for-each-ref and prett

Re: Improving git branch

2014-12-18 Thread Michael J Gruber
Junio C Hamano schrieb am 17.12.2014 um 21:53: > Michael J Gruber writes: > >> Rather than extending "git branch" any further[*], I suggest a bolder >> strategy: >> >> - unify/merge for-each-ref and pretty formats (and code) as far as possible >> - leverage that for the list modes of branch and t

Re: Improving git branch

2014-12-17 Thread Jeff King
On Wed, Dec 17, 2014 at 12:53:49PM -0800, Junio C Hamano wrote: > Michael J Gruber writes: > > > Rather than extending "git branch" any further[*], I suggest a bolder > > strategy: > > > > - unify/merge for-each-ref and pretty formats (and code) as far as possible > > - leverage that for the lis

Re: Improving git branch

2014-12-17 Thread Junio C Hamano
Michael J Gruber writes: > Rather than extending "git branch" any further[*], I suggest a bolder > strategy: > > - unify/merge for-each-ref and pretty formats (and code) as far as possible > - leverage that for the list modes of branch and tag > > That would allow everyone to get their favourite

Re: Improving git branch

2014-12-17 Thread Junio C Hamano
John Tapsell writes: > I'm interested in putting in some time and effort into improving the > output of "git branch". > > What I'm thinking is an output like this: > > $ git branch > > 2014-12-17 * (detached from origin/master) deaba04 Do stuff > 2014-12-15 john.ta/add_timing_info

Re: Improving git branch

2014-12-17 Thread Michael J Gruber
Also, please don't top-post here. That would allow everyone to get their favourite listing, just like for logs. John Tapsell schrieb am 17.12.2014 um 12:51: > I don't fully understand - if I did that, then what difference would > an average user actually see? > > On 17 December 2014 at 11:28, Mi

Re: Improving git branch

2014-12-17 Thread John Tapsell
I don't fully understand - if I did that, then what difference would an average user actually see? On 17 December 2014 at 11:28, Michael J Gruber wrote: > John Tapsell schrieb am 17.12.2014 um 12:10: >> Hi all, >> >> I'm interested in putting in some time and effort into improving the >> outpu

Re: Improving git branch

2014-12-17 Thread Michael J Gruber
John Tapsell schrieb am 17.12.2014 um 12:10: > Hi all, > > I'm interested in putting in some time and effort into improving the > output of "git branch". > > What I'm thinking is an output like this: > > $ git branch > > 2014-12-17 * (detached from origin/master) deaba04 Do stuff > 2014

Improving git branch

2014-12-17 Thread John Tapsell
Hi all, I'm interested in putting in some time and effort into improving the output of "git branch". What I'm thinking is an output like this: $ git branch 2014-12-17 * (detached from origin/master) deaba04 Do stuff 2014-12-15 john.ta/add_timing_info6edbcfa Add timing