[openssl-commits] [openssl] OpenSSL_1_0_1-stable update
Matt Caswell
matt at openssl.org
Mon Nov 2 14:35:40 UTC 2015
The branch OpenSSL_1_0_1-stable has been updated
via 22ec08d7b76709750f8c9a8aaf7e86703e4eb56c (commit)
from 0f5fdb73d7625c23461e66f158a293ade362f6c3 (commit)
- Log -----------------------------------------------------------------
commit 22ec08d7b76709750f8c9a8aaf7e86703e4eb56c
Author: Matt Caswell <matt at openssl.org>
Date: Sun Nov 1 14:41:29 2015 +0000
Clarify the preferred way of creating patch files
Clarify that git format-patch output is preferred for creating patch files.
Reviewed-by: Richard Levitte <levitte at openssl.org>
(cherry picked from commit f89ee71bc81017e04ac50f570d8aed87f495bcf2)
-----------------------------------------------------------------------
Summary of changes:
CONTRIBUTING | 10 ++++++++--
1 file changed, 8 insertions(+), 2 deletions(-)
diff --git a/CONTRIBUTING b/CONTRIBUTING
index 1d46f7b..9d63d8a 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]
More information about the openssl-commits
mailing list