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

Re: [RFC/PATCH] show tracking branches with their associated branch names

From
Junio C Hamano <gitster@pobox.com>
Date
Dec 12, 2011, 07:14 UTC
Message-ID
<7vsjkq5h0i.fsf@alter.siamese.dyndns.org>
In-Reply-To
<1323516226.1698.80.camel@sdesktop>
Santhosh Kumar Mani <santhoshmani@gmail.com> writes:
> Of course, I could get this information in different ways. But it makes
> sense to have this information displayed by default.

It makes sense to make the various information available, but it does not mean it makes sense to add it by default for everybody at all. Given that against all common sense, many newbie web-tips and third-party documents suggest "git branch | sed -ne 's/^\* //p'" as a way to find the current branch in scripts, I am sure such a change will cause trouble to many while only helping a few.

I wouldn't mind a new option --verbose-format=... that takes various formatting letters similar to how --pretty=format:... does, though.

Previous: Santhosh Kumar ManiNext: Santhosh
Message 4 of 5 in “show tracking branches with their associated branch names”
  1. show tracking branches with their associated branch namesSanthosh Kumar Mani, Dec 10, 2011
  2. Vincent van RavesteijnDec 10, 2011
  3. Santhosh Kumar ManiDec 10, 2011
  4. Junio C HamanoDec 12, 2011
  5. SanthoshDec 12, 2011

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.