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

Re: Attributes for commits

From
Robin Rosenberg <robin.rosenberg.lists@dewire.com>
Date
Jun 9, 2007, 18:48 UTC
Message-ID
<200706092048.52142.robin.rosenberg.lists@dewire.com>
In-Reply-To
<466AA714.4050500@comcast.net>
lördag 09 juni 2007 skrev Paul Franz:
Show 17 quoted lines
>     I am a ClearCase administrator and one of the things that I love 
> about it is the ability to assign attributes to versions of files. Is 
> there anybody thinking of adding the ability to assign attributes to a 
> commit? I ask because I was thinking about how I would move from 
> ClearCase to git and part of our process is to assign the BugNum 
> attribute to every checkin so that we can see what bugs have been fixed. 
> We also track the files checked in the bug tracking software to. Thus 
> giving us a two way linkage between repository and the bug tracking 
> system. This is VERY useful. And I was wondering if there are any 
> thought to this for commits.
> 
> Now, I will be honest it is possible that this has already been done (I 
> have not read all the documentation yet) and I am justing wasting 
> bandwidth. In which, please excuse my ignorance and tell me to just RTFM.
> 
> Paul Franz
> 

We use the convention of putting the bug number as the first work on the first line of the checkin, e.g. "3399 Add attributes for commits". The advantage over other methods is that it is always there, without the need to further investigations of assigned attributes.

This convention has nothing to do with Git though. It works with any type of repo.
-- robin
Previous: Johan HerlandNext: Paul Franz
Message 3 of 4 in “Attributes for commits”
  1. Paul FranzJun 9, 2007
  2. Johan HerlandJun 9, 2007
  3. Robin RosenbergJun 9, 2007
  4. Paul FranzJun 10, 2007

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.