[mythtv] Proper way to create a patch

Tako Schotanus quintesse at palacio-cristal.com
Wed Jul 7 08:03:26 EDT 2004


Jason Donahue wrote:

>Hello,
>I have done some coding for mythweb's music page to extend it's
>functionality, and would like to submit a patch. Problem is, I'm not sure
>how to do it right/conform to what is wanted.
>
>I figure I should be doing 'diff -u', but my changes affect multiple
>files, some in subdirectories, and creates a couple of files as well. So,
>is there a nice command to create one big diff file on the directory?
>
>  
>
I always do a "cvs diff -u2" in the root of the particular module 
(MythMusic in your case).

Don't forget to do a "cvs update" first and check if your patch still 
works so you can be sure that your patch works against the very latest 
version of CVS.

Cheers,
 -Tako



More information about the mythtv-dev mailing list