|
Home > Archive > Debian Developers > October 2005 > How to generate a patch?
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
How to generate a patch?
|
|
| Robert Epprecht 2005-10-02, 2:50 am |
| I have a suggestion for a new feature of a program which I'd like to
sent to the author. What is the exact command to generate the patch
in the usual format?
Sorry, for the very basic question ;-)
Robert
--
To UNSUBSCRIBE, email to debian-devel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
| |
| Petter Reinholdtsen 2005-10-02, 2:50 am |
| [Robert Epprecht]
> I have a suggestion for a new feature of a program which I'd like to
> sent to the author. What is the exact command to generate the patch
> in the usual format?
This was answered on the list not too long ago. Use for example
'diff -ur original yourver' to get the patch between the original and
your version.
--
To UNSUBSCRIBE, email to debian-devel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
| |
| Lars Wirzenius 2005-10-02, 7:50 am |
| su, 2005-10-02 kello 09:20 +0200, Petter Reinholdtsen kirjoitti:
> [Robert Epprecht]
>
> This was answered on the list not too long ago. Use for example
> 'diff -ur original yourver' to get the patch between the original and
> your version.
If you have added new files, add the -N option to diff. Before you do
the diff, clean out any files that can be built by make so that changes
to them are not included unnecessarily in the patch. The patch should be
minimal and as easily readable as possible as a plain text file.
If you use CVS, "cvs diff -u" should do the trick. Other version control
systems have a similar command.
--
To UNSUBSCRIBE, email to debian-devel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
|
|
|
|
|