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

Re: Attributes for commits

From
Johan Herland <johan@herland.net>
Date
Jun 9, 2007, 13:49 UTC
Message-ID
<200706091549.39383.johan@herland.net>
In-Reply-To
<466AA714.4050500@comcast.net>
On Saturday 09 June 2007, Paul Franz wrote:
Show 14 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.

Well, we're sort of in the process of getting there. I posted an initial proof-of-concept implementation of git 'notes' a while back. Git notes is a general mechanism for providing free-form annotations on git objects after they've been created. My initial posting sparked a discussion [1], and I'm currently in the process of reimplementing the notes concept based on the outcome of that discussion.

So the thing you want will hopefully be in a future release.
Have fun!
...Johan
[1]: http://thread.gmane.org/gmane.comp.version-control.git/46770/focus=48540
-- 
Johan Herland, <johan@herland.net>
www.herland.net
Previous: Paul FranzNext: Robin Rosenberg
Message 2 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.