X-Git-Url: https://git.openssl.org/gitweb/?p=openssl.git;a=blobdiff_plain;f=CONTRIBUTING;h=9d63d8abb67252974e5a1267b2e38b67c1ad0a06;hp=1d46f7bbaaff89eb707dc7978dad9fe1017efd31;hb=c98d63f250c3cefe0905269171eb5e26b1ce8d57;hpb=a2aaf8be7e3c22a61ef89f273aa85f482b955336 diff --git a/CONTRIBUTING b/CONTRIBUTING index 1d46f7bbaa..9d63d8abb6 100644 --- a/CONTRIBUTING +++ b/CONTRIBUTING @@ -22,8 +22,14 @@ current Git or the last snapshot. They should follow our coding style warnings using the --strict-warnings flag. OpenSSL compiles on many varied platforms: try to ensure you only use portable features. -Our preferred format for changes is "diff -u" output. One method is to use -"git diff" Another is to generate it something like this: +Our preferred format for patch files is "git format-patch" output. For example +to provide a patch file containing the last commit in your local git repository +use the following command: + +# git format-patch --stdout HEAD^ >mydiffs.patch + +Another method of creating an acceptable patch file without using git is as +follows: # cd openssl-work # [your changes]