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

Re: [PATCH 0/2] branch: improve verbose option

From
Philip Oakley <philipoakley@iee.org>
Date
Aug 31, 2013, 14:41 UTC
Message-ID
<CD323DA08A0540A89D9BFB28F541AFB4@PhilipOakley>
In-Reply-To
<1377903583-3550-1-git-send-email-felipe.contreras@gmail.com>
From: "Felipe Contreras" <felipe.contreras@gmail.com>
Sent: Friday, August 30, 2013 11:59 PM
Show 12 quoted lines
> Hi,
>
> This has been discussed before:
>
> http://thread.gmane.org/gmane.comp.version-control.git/224489
>
> but in the spirit of the perfect being the enemy of the good, nothing 
> got done.
>
> This series makes 'git branch -v' much faster, and gives us the most 
> important
> information; the configured upstream tracking branch.

Yes, It's someting I often want reminding of (which origin server, which master?, ..etc.) always appear to start here.

>        Showing ahead/behind is
> not as important,

I still find this useful - if it's up to date I don't need reminding of which remote / upstream tracking branch it's configured against ;-)

These two bits of information, while related are separate. If anything I think I'd prefer both, but then again optimisations are still good.

Bikeshedding ends.
Philip
Show 16 quoted lines
>    specially considering that currently 'git branch -v' doesn't
> show the branch we are comparing the ahead/behind to.
>
> Strictly speaking it's a regression, but nobody would complain, and if 
> somebody
> does, it should be easy to revert if needed.
>
> Felipe Contreras (2):
>  branch: trivial cleanup
>  branch: reorganize verbose options
>
> builtin/branch.c         | 33 +++++++++++++++------------------
> t/t6040-tracking-info.sh |  8 ++++----
> 2 files changed, 19 insertions(+), 22 deletions(-)
>
> -- 
Previous: Felipe ContrerasNext: Felipe Contreras
Message 4 of 5 in “branch: improve verbose option”
  1. 0/2 branch: improve verbose optionFelipe Contreras, Aug 30, 2013
  2. 1/2 branch: trivial cleanupFelipe Contreras, Aug 30, 2013
  3. 2/2 branch: reorganize verbose optionsFelipe Contreras, Aug 30, 2013
  4. Philip OakleyAug 31, 2013
  5. Felipe ContrerasAug 31, 2013

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.