]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
doc/HACKING: Explain how to find when a given change was introduced
authorChris Ball <chris@printf.net>
Sat, 31 Jul 2010 23:07:00 +0000 (19:07 -0400)
committerSebastian Hahn <sebastian@torproject.org>
Thu, 12 Aug 2010 00:38:58 +0000 (02:38 +0200)
doc/HACKING

index ac68a35a088a653556d821c76592f491c4009265..4eee914ba9a6cd18e928fe9c4b42696bba22bec1 100644 (file)
@@ -58,7 +58,8 @@ To write a changes file, first categorize the change.  Some common categories
 are: Minor bugfixes, Major bugfixes, Minor features, Major features, Code
 simplifications and refactoring.  Then say what the change does.  Then, if
 it's a bugfix, then mention what bug it fixes and when the bug was
-introduced.
+introduced.  To find out which Git tag the change was introduced in,
+you can use "git describe --contains <sha1 of commit>".
 
 If at all possible, try to create this file in the same commit where
 you are making the change.  Please give it a distinctive name that no