Add a missing piece of existing practice to the developer policy. This may need furth...
authorNick Lewycky <nicholas@mxc.ca>
Thu, 14 May 2015 23:21:33 +0000 (23:21 +0000)
committerNick Lewycky <nicholas@mxc.ca>
Thu, 14 May 2015 23:21:33 +0000 (23:21 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@237405 91177308-0d34-0410-b5e6-96231b3b80d8

docs/DeveloperPolicy.rst

index a07b5fab2178abc30262e3d055e4ffa8b52da12c..10c64a548a5d0a20d90aae0788d6959b7c572269 100644 (file)
@@ -324,6 +324,11 @@ Below are some guidelines about the format of the message itself:
 * Text formatting and spelling should follow the same rules as documentation
   and in-code comments, ex. capitalization, full stop, etc.
 
+* If the commit is a bug fix on top of another recently committed patch, or a
+revert or reapply of a patch, include the svn revision number of the prior
+related commit. This could be as simple as "Revert rNNNN because it caused
+PR#".
+
 For minor violations of these recommendations, the community normally favors
 reminding the contributor of this policy over reverting. Minor corrections and
 omissions can be handled by sending a reply to the commits mailing list.