From: Nguyen Thai Ngoc Duy Date: Tue, 16 Mar 2010 14:36:43 GMT Subject: Re: FEATURE REQUEST: Comment assignment on branches Message-ID: In-Reply-To: <4B9EA22E.1010103@lsrfire.ath.cx> On 3/16/10, René Scharfe wrote: > 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