[git-users] Re: Custom commit property?

2010-01-01 Thread Jeffrey
This sounds like precisely the purpose of standard formats for log
messages.  The simplest thing would be to prefix the subject with
[type]: like this:

major: add big feature



or put it on the first line of the body, if you have something else
you like to do with the subject, whatever.  As long as your format is
standard, you can easily search for that particular key.

Jeffrey

On Jan 1, 11:59 am, Trans transf...@gmail.com wrote:
 Is there are way to add a custom property to commits? I want to use it
 to track commit type For example, I use 'admin', 'doc', 'major',
 'minor', and 'bug' to classify my commits.

 Thanks.

--

You received this message because you are subscribed to the Google Groups Git 
for human beings group.
To post to this group, send email to git-us...@googlegroups.com.
To unsubscribe from this group, send email to 
git-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/git-users?hl=en.




[git-users] Re: Custom commit property?

2010-01-01 Thread Trans


On Jan 1, 7:43 pm, Jeffrey jefr...@gmail.com wrote:
 This sounds like precisely the purpose of standard formats for log
 messages.  The simplest thing would be to prefix the subject with
 [type]: like this:

 major: add big feature

 

 or put it on the first line of the body, if you have something else
 you like to do with the subject, whatever.  As long as your format is
 standard, you can easily search for that particular key.

 Jeffrey

Yes. That is what I currently do. It works okay, but I would prefer
something more formal/strict if possible. It's very easy to fail to
conform to a log message convention.

Thanks

--

You received this message because you are subscribed to the Google Groups Git 
for human beings group.
To post to this group, send email to git-us...@googlegroups.com.
To unsubscribe from this group, send email to 
git-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/git-users?hl=en.