Re: Attributes for commits
From: Johan Herland <hidden>
Date: 2016-06-15 22:43:15
On Saturday 09 June 2007, Paul Franz wrote:
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, [off-list ref] www.herland.net