Re: branch description
- From
Russ Dill <russ.dill@gmail.com>
- Date
- Apr 15, 2008, 17:31 UTC
- Message-ID
- <f9d2a5e10804151031o1d09c1f9od0ad78dcf9b746c5@mail.gmail.com>
- In-Reply-To
- <9b3e2dc20804150951scf8b3c7x26f3a56eab1f9840@mail.gmail.com>
> I find it useful to use fairly short names for branches. However, > sometimes I would like to have a full sentence to actually describe > what the branch is for, without having the peruse the actual commits.
Me too.
> This information could of course be kept on a web page, but it would > be nice to have it in the repo.
Like, putting your bug number in the branch name.
> Is there any such branch annotation command? > Ideally I'd like to see a sentence displayed next to the branch name > when I use "git-branch". > Perhaps, git-branch --info or something.
The problem is that a branch is just a floating name for a line of development. Its not really a "thing" in the repository like a tag or a commit. You'd need to make some sort of special tag that describes the branch or somesuch.