Add a note in the contributing file about trivial commits.
authorPauli <paul.dale@oracle.com>
Thu, 27 Jun 2019 08:45:26 +0000 (18:45 +1000)
committerPauli <paul.dale@oracle.com>
Thu, 27 Jun 2019 13:23:17 +0000 (23:23 +1000)
A better explanation of where the "CLA: trivial" line goes and how to add
it post hoc.

Reviewed-by: Matthias St. Pierre <Matthias.St.Pierre@ncp-e.com>
(Merged from https://github.com/openssl/openssl/pull/9265)

CONTRIBUTING

index 250bbdbf24f96fb2224cb87757e089f83a1a5c5c..b65463c030c0cb4c9dfdd8e2550d73e38eabec3a 100644 (file)
@@ -19,8 +19,16 @@ guidelines:
     1. Anything other than a trivial contribution requires a Contributor
     License Agreement (CLA), giving us permission to use your code. See
     https://www.openssl.org/policies/cla.html for details.  If your
-    contribution is too small to require a CLA, put "CLA: trivial" on a
-    line by itself in your commit message body.
+    contribution is too small to require a CLA (e.g. fixing a spelling
+    mistake), place the text "CLA: trivial" on a line by itself separated by
+    an empty line from the rest of the commit message. It is not sufficient to
+    only place the text in the GitHub pull request description.
+
+    To amend a missing "CLA: trivial" line after submission, do the following:
+
+        git commit --amend
+        [add the line, save and quit the editor]
+        git push -f
 
     2.  All source files should start with the following text (with
     appropriate comment characters at the start of each line and the