瀏覽代碼

doc/HACKING: Explain how to find when a given change was introduced

Chris Ball 15 年之前
父節點
當前提交
16970d83cc
共有 1 個文件被更改,包括 2 次插入1 次删除
  1. 2 1
      doc/HACKING

+ 2 - 1
doc/HACKING

@@ -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