docs/submittingpatches.html: document the Fixes tag
authorEmil Velikov <emil.veliko@collabora.com>
Mon, 13 Feb 2017 19:23:41 +0000 (19:23 +0000)
committerEmil Velikov <emil.l.velikov@gmail.com>
Mon, 20 Feb 2017 18:21:22 +0000 (18:21 +0000)
Provide information and an example.

Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
docs/submittingpatches.html

index 564ad731b24ca590311ed0b223e1a9c797f6f71c..6ca39c48259f7c34327817e604eeb1fb377eb1c3 100644 (file)
@@ -78,6 +78,11 @@ patch comment.  For example:
 <pre>
    Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=89689
 </pre>
+<li>If a patch addresses a issue introduced with earlier commit, that should be
+noted in the patch comment.  For example:
+<pre>
+   Fixes: d7b3707c612 "util/disk_cache: use stat() to check if entry is a directory"
+</pre>
 <li>If there have been several revisions to a patch during the review
 process, they should be noted such as in this example:
 <pre>