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

Re: Feature Request: Branch Annotations

From
Avery Pennarun <apenwarr@gmail.com>
Date
Oct 8, 2008, 23:21 UTC
Message-ID
<32541b130810081621k32493e20occba9cd97671775d@mail.gmail.com>
In-Reply-To
<7vwsgiptph.fsf@gitster.siamese.dyndns.org>
On 10/8/08, Junio C Hamano <gitster@pobox.com> wrote:
Show 19 quoted lines
> David Soria Parra <sn_@gmx.net> writes:
>
>  >> Any opinions on this?
>  >
>  > would be great to have something like that build in git-core like
>  >
>  > git branch -i 'Fix bla' ds/fix next
>  > git branch -i
>  >  ds/fix (Fix Bla)
>
> Haven't people watched Linus on google tech talk?  Here is an excerpt from
>  the transcript (http://git.or.cz/gitwiki/LinusTalk200705Transcript):
>
>     ... well actually you shouldn't call it "test", you should basically
>     name your branches the way you name your functions, you should call
>     them something short and sweet and to the point -- What is that branch
>     doing.
>
>  IOW, why did you name the branch "ds/fix" and not "ds/fix-bla"?

Because it would be excessive typing every time you want to do something to that branch?

I guess bash completions would help with this (if you're using bash), but even then it's kind of unreasonable to name branches something like "bug-111234-widget-performance-improvements-for-customer-x", which is the sort of information that would be awfully helpful two months later when you're looking at old unmerged branches.

Avery
Previous: David Soria ParraNext: Miklos Vajna
Message 8 of 10 in “Feature Request: Branch Annotations”
  1. Rotem YaariOct 8, 2008
  2. Thomas AdamOct 8, 2008
  3. BazOct 8, 2008
  4. Marc WeberOct 8, 2008
  5. David Soria ParraOct 8, 2008
  6. Junio C HamanoOct 8, 2008
  7. David Soria ParraOct 8, 2008
  8. Avery PennarunOct 8, 2008
  9. Miklos VajnaOct 9, 2008
  10. Peter KreftingOct 10, 2008

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.