[RFA] - Improve suggestions for generating patches in CONTRIBUTE

Siva Chandra
2012-04-16T07:27:19Z

[-- Attachment #1: Type: text/plain, Size: 393 bytes --]

This patch is in response to the discussion here:
http://sourceware.org/ml/gdb-patches/2012-04/msg00328.html

2012-04-16 Siva Chandra Reddy <sivachandra@google.com>

* CONTRIBUTE: Add "cvs diff -up" as a way to generate patches
when accessing the CVS repository. Add a note saying that the
"-up" flavors of "cvs diff" and "diff" are preferred.

Thanks,
Siva Chandra

[-- Attachment #2: contribute_patch_v1.txt --]
[-- Type: text/plain, Size: 992 bytes --]

Index: CONTRIBUTE
===================================================================
RCS file: /cvs/src/src/gdb/CONTRIBUTE,v
retrieving revision 1.12
diff -u -p -r1.12 CONTRIBUTE
--- CONTRIBUTE 22 Aug 2009 17:08:09 -0000 1.12
+++ CONTRIBUTE 16 Apr 2012 07:15:57 -0000
@@ -71,9 +71,11 @@ o Submitting Patches
documentation (i.e., .texi files).

The patch itself. If you are accessing the CVS repository use
- "cvs update; cvs diff -cp"; else, use "diff -cp OLD NEW" or
- "diff -up OLD NEW". If your version of diff does not support
- these options, then get the latest version of GNU diff.
+ "cvs update; cvs diff -cp" or "cvs update; cvs diff -up"; else,
+ use "diff -cp OLD NEW" or "diff -up OLD NEW". The flavors with
+ "-up" option string are preferred. If your version of diff does
+ not support these options, then get the latest version of GNU
+ diff.

We accept patches as plain text (preferred for the compilers
themselves), MIME attachments (preferred for the web pages),