Re: branch description
- From
- Stephen Sinclair <radarsat1@gmail.com>
- Date
- Apr 15, 2008, 20:53 UTC
- Message-ID
- <9b3e2dc20804151353p2622ab19i2a04f5da9a6417ca@mail.gmail.com>
- In-Reply-To
- <7vej97x78v.fsf@gitster.siamese.dyndns.org>
On Tue, Apr 15, 2008 at 3:12 PM, Junio C Hamano <gitster@pobox.com> wrote:
Show 5 quoted lines
> > Not complicated at all. Put that description in-tree in a known location > (say, "help-branch") in-tree and your propagation problem is solved. > > And have a scriptlet in $HOME/bin/git-help-branch to grep from that file.
Hm, I wasn't sure if an in-tree solution would be appropriate. It's possible, but I didn't really want this branch description to be something I have to deal with when merging.. Ideally though this information _should_ be propagated through a clone, so something in-tree might make sense.
When I posted I thought perhaps there was already a way to do this that I hadn't encountered. Perhaps there could be an in-tree file .gitbranch that is simply a name:description pair, "git-branch --info" (or whatever) could be made to know how to parse that file if it exists.
However I was hoping that the branch description could be made when creating the branch, instead of having to associate it with an actual commit.
I don't know, I'll give it some thought and try to come up with a more concrete proposal.
Steve