Re: FEATURE REQUEST: Comment assignment on branches
- From
Nguyen Thai Ngoc Duy <pclouds@gmail.com>
- Date
- Mar 16, 2010, 14:36 UTC
- Message-ID
- <fcaeb9bf1003160736w7749f358p6ee8f86e6c3a32c6@mail.gmail.com>
- In-Reply-To
- <4B9EA22E.1010103@lsrfire.ath.cx>
On 3/16/10, René Scharfe <rene.scharfe@lsrfire.ath.cx> wrote:
Show 25 quoted lines
> Am 15.03.2010 09:33, schrieb Maxim Treskin: > > > Hello > > > > Is it possible to add comments assignment to branches? > > Something like: > > > > $ git branch --comment="New branch with implementation of some features" br14 > > > > $ git branch > > br14 > > * master > > > > $ git branch --comments > > br14 (New branch with implementation of some features) > > * master > > > > and when configuration variable branch.comments == true, this behavior > > is default. > > > Hmm. You could name your branch > "br14/new-branch-with-implementation-of-some-features" instead of > "br14". With command line completion you would only have to hit two > extra keys (slash tab) and could enjoy a meaningful branch name everywhere.
If only completion works across shells. Another idea: put notes in a blob, tagged with "notes/branchname" or another convention.
Then if you want to see description of branch "br14", do "git show notes/br14". Teaching "git branch" to show it is easy.
-- Duy