Re: [PATCH] branch: add show-tracking option

2013-05-16 Thread Junio C Hamano
Felipe Contreras writes: > On Thu, May 16, 2013 at 11:17 AM, Junio C Hamano wrote: > >> *1* indented because this is dependent of @{u}; showing ahead/behind >> without showing @{u} would not make any sense. > > That's what 'git branch -v' does. OK, perhaps people know (or do not have to kno

Re: [PATCH] branch: add show-tracking option

2013-05-16 Thread Junio C Hamano
Felipe Contreras writes: > On Thu, May 16, 2013 at 11:17 AM, Junio C Hamano wrote: > >> *1* indented because this is dependent of @{u}; showing ahead/behind >> without showing @{u} would not make any sense. > > That's what 'git branch -v' does. Yes. I thought you wanted "just @{u} without

Re: [PATCH] branch: add show-tracking option

2013-05-16 Thread Felipe Contreras
On Thu, May 16, 2013 at 11:17 AM, Junio C Hamano wrote: > *1* indented because this is dependent of @{u}; showing ahead/behind > without showing @{u} would not make any sense. That's what 'git branch -v' does. -- Felipe Contreras -- To unsubscribe from this list: send the line "unsubscribe

Re: [PATCH] branch: add show-tracking option

2013-05-16 Thread Junio C Hamano
Duy Nguyen writes: > On Thu, May 16, 2013 at 3:40 PM, Michael J Gruber > wrote: >>> What if I want something in - except some in -vv? I think to avoid >>> option explosion, maybe we can adopt --pretty=format:xxx from "git >>> log" and let the user decideswhat (and how) to display. "pretty" c

Re: [PATCH] branch: add show-tracking option

2013-05-16 Thread Duy Nguyen
On Thu, May 16, 2013 at 3:40 PM, Michael J Gruber wrote: >> What if I want something in - except some in -vv? I think to avoid >> option explosion, maybe we can adopt --pretty=format:xxx from "git >> log" and let the user decideswhat (and how) to display. "pretty" code >> learns about alignmen

Re: [PATCH] branch: add show-tracking option

2013-05-16 Thread Michael J Gruber
Duy Nguyen venit, vidit, dixit 16.05.2013 10:23: > On Thu, May 16, 2013 at 3:00 PM, Michael J Gruber > wrote: >> I feel, though, that we're really exploding our option and config realm. >> For "git branch" in list mode, we are already able to stack "-v", i.e. >> "-v" and "-vv" do different things.

Re: [PATCH] branch: add show-tracking option

2013-05-16 Thread Duy Nguyen
On Thu, May 16, 2013 at 3:00 PM, Michael J Gruber wrote: > I feel, though, that we're really exploding our option and config realm. > For "git branch" in list mode, we are already able to stack "-v", i.e. > "-v" and "-vv" do different things. How about maybe adding "-vvv" and > arranging things so

Re: [PATCH] branch: add show-tracking option

2013-05-16 Thread Michael J Gruber
Felipe Contreras venit, vidit, dixit 16.05.2013 10:09: > On Thu, May 16, 2013 at 3:00 AM, Michael J Gruber > wrote: >> Felipe Contreras venit, vidit, dixit 16.05.2013 09:48: >>> Showing the tracking information for all the branches takes significant >>> amount of time. The user might not want that

Re: [PATCH] branch: add show-tracking option

2013-05-16 Thread Felipe Contreras
On Thu, May 16, 2013 at 3:00 AM, Michael J Gruber wrote: > Felipe Contreras venit, vidit, dixit 16.05.2013 09:48: >> Showing the tracking information for all the branches takes significant >> amount of time. The user might not want that. The --no-show-tracking >> option allows that. > > I really l

Re: [PATCH] branch: add show-tracking option

2013-05-16 Thread Michael J Gruber
Felipe Contreras venit, vidit, dixit 16.05.2013 09:48: > Showing the tracking information for all the branches takes significant > amount of time. The user might not want that. The --no-show-tracking > option allows that. I really like the idea of allowing that - not just because I've suggested so

Re: [PATCH] branch: add show-tracking option

2013-05-16 Thread Felipe Contreras
On Thu, May 16, 2013 at 2:54 AM, Duy Nguyen wrote: > On Thu, May 16, 2013 at 2:48 PM, Felipe Contreras > wrote: >> Showing the tracking information for all the branches takes significant >> amount of time. The user might not want that. The --no-show-tracking >> option allows that. > > Or we could

Re: [PATCH] branch: add show-tracking option

2013-05-16 Thread Duy Nguyen
On Thu, May 16, 2013 at 2:48 PM, Felipe Contreras wrote: > Showing the tracking information for all the branches takes significant > amount of time. The user might not want that. The --no-show-tracking > option allows that. Or we could cache the information somewhere in .git. If a ref still point

Re: [PATCH] branch: add show-tracking option

2013-05-16 Thread Felipe Contreras
On Thu, May 16, 2013 at 2:48 AM, Felipe Contreras wrote: > Showing the tracking information for all the branches takes significant > amount of time. The user might not want that. The --no-show-tracking > option allows that. BTW. I ideally I would switch around so -v has upstream, and --vv has the

[PATCH] branch: add show-tracking option

2013-05-16 Thread Felipe Contreras
Showing the tracking information for all the branches takes significant amount of time. The user might not want that. The --no-show-tracking option allows that. Signed-off-by: Felipe Contreras --- Documentation/git-branch.txt | 5 - builtin/branch.c | 4 +++- 2 files changed, 7 i