Forum > Other

Making a patch


What is the proper way to make a patch
Do you use diff?
Please give an example.

Thanks in advance,


Perhaps an example could be put on the Mailinglist page of how to make a patch

Vincent Snijders:
See this FAQ:

But I prefer reading the diff -u output and like to inspect the patch file before sending. So I do it a bit dfferent.'

cvs -z3 diff -u > diff.txt
Then I open the diff.txt in an editor and remove all non-relevant information, for example line starting with ? or other files I changed but don't want to send (yet). Then I gzip the patch:
cat diff.txt | gzip > mypatch.gz

Looking forward to your patches.

Okay thanks exactly what I was looking for!


[0] Message Index

Go to full version