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

Re: Feature request: Store comments on branches

From
Bill Lear <rael@zopyra.com>
Date
Oct 21, 2009, 15:05 UTC
Message-ID
<19167.8999.927157.455014@lisa.zopyra.com>
In-Reply-To
<20091021133702.GA470@lisa>
On Wednesday, October 21, 2009 at 15:37:03 (+0200) Patrick Schoenfeld writes:
Show 13 quoted lines
>Hi,
>
>I regulary work with various branches, that I call by the number
>of an associated bug tracking / support tracking number. That
>makes it clear to which ticket a given branch belongs.
>In this case I would find it very useful, if I could associate
>short comments with a branch, which would be shown when
>doing a 'git branch'. This way I could see what this branch
>about, without looking up the ticket information.
>
>Obvious the workaround is to name the branches different,
>but this is sometimes not convenient and may result in quiet
>long branch names.

For now, we do just this. We use Jira for bug reporting. When we create a new Jira bug, we use the Jira Id as the base and then tack on a short suffix:

% git checkout -b ADM-417_service_deploy_race_condition

We are also working on tools that would, among other things, obviate this. For example:

% git branch
* ADM-417
ADM-312
master
% jira describe
ADM-417: Service deployments have logging race condition on first start
% jira describe -l ADM-312
ADM-312: Portal permissions set incorrectly for WEP users
Description: The portal permissions get whacked whenever ...
Assigned To: John Smith <jsmith@ourhouse.com>
Status: In Progress
[...]

The 'jira' command just connects to our Jira server and performs actions directly on the Jira server for current or whichever branch, etc.

Bill
Previous: Howard Miller
Message 6 of 6 in “Feature request: Store comments on branches”
  1. Patrick SchoenfeldOct 21, 2009
  2. Thomas AdamOct 21, 2009
  3. B Smith-MannschottOct 21, 2009
  4. Jeff KingOct 21, 2009
  5. Howard MillerOct 21, 2009
  6. Bill LearOct 21, 2009

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.