summaryrefslogtreecommitdiff
path: root/README
diff options
context:
space:
mode:
authorSimon Josefsson <simon@josefsson.org>2010-11-25 18:31:16 +0100
committerSimon Josefsson <simon@josefsson.org>2010-11-25 18:31:16 +0100
commita7a5b23ebad7e6895a2a32cad7392462921228a2 (patch)
tree978e73cc89d3ae432904ce9e6c778d3e1523ad71 /README
parent6b99ed25e0b6bc0ca6132f5cd2bf1a61b3df5ba4 (diff)
downloadgnutls-a7a5b23ebad7e6895a2a32cad7392462921228a2.tar.gz
Recommend git format-patch rather than git diff.
Diffstat (limited to 'README')
-rw-r--r--README14
1 files changed, 9 insertions, 5 deletions
diff --git a/README b/README
index 0b16d96540..21a836edfe 100644
--- a/README
+++ b/README
@@ -139,15 +139,19 @@ PATCHES
Patches are welcome and encouraged. Details of contributing can be found
at http://www.gnu.org/software/gnutls/manual/html_node/Contributing.html.
-Patches are submitted through the bug tracking system. When submitting
-patches, please be sure to use sources from the git repository. To
+Patches are submitted through the bug tracking system or to the
+mailing list. When submitting patches, please be sure to use sources
+from the git repository, and preferrably from the master branch. To
create a patch for the project from a local git repository, please use
the following commands. 'gnutls' should be the local directory of a
-previous git clone, and <filename> should reflect a descriptive name for
-the patch.
+previous git clone.
cd gnutls
- git diff > <filename>.patch
+ git add the-file-you-modified.c another-file.c
+ git commit the-file-you-modified.c another-file.c
+ git format-patch
+
+For more information on use of Git, visit http://git-scm.com/
----------------------------------------------------------------------
Copying and distribution of this file, with or without modification,