nglenn has asked for the wisdom of the Perl Monks concerning the following question:
Last night I submitted my first patch (woohoo!). I made a change to both a PM file and a test file, so I used diff to generate a patch for the entire directory: diff -urd oldDir newDir
When I tried to apply the patch to the code before I submitted it, however, I was having trouble figuring out the correct patch command. Patch would tell me that it couldn't find the right file to patch, or would just crash (apparently the MinGW version isn't very stable). Can anyone give me a pointer on submitting patches for whole distributions? Is it normal, rather, to make a patch file for each changed file and submit all of them? If so, what is the quickest way to create and test a patch for several files?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: submitting a patch for a directory
by daxim (Curate) on Aug 16, 2012 at 14:21 UTC | |
by nglenn (Beadle) on Aug 16, 2012 at 14:43 UTC | |
by daxim (Curate) on Aug 16, 2012 at 14:49 UTC | |
by jgamble (Pilgrim) on Aug 17, 2012 at 01:37 UTC | |
by Anonymous Monk on Aug 16, 2012 at 20:42 UTC | |
|
Re: submitting a patch for a directory (mini diff/patch tutorial)
by Anonymous Monk on Aug 16, 2012 at 16:26 UTC | |
|
Re: submitting a patch for a directory
by aitap (Curate) on Aug 16, 2012 at 14:05 UTC |