custom kernel, how to revert patch

2013-10-09 Thread Chris Murphy
I'm trying to track down a btrfs regression and need to revert a ~10 month old patch using 3.12.0-rc4 as the basis. This http://fedoraproject.org/wiki/Building_a_custom_kernel has ApplyPatch examples in the spec file, which works fine. Is there an inverse command? Or do I need to do it

Re: custom kernel, how to revert patch

2013-10-09 Thread Josh Boyer
On Wed, Oct 9, 2013 at 11:25 AM, Chris Murphy li...@colorremedies.com wrote: I'm trying to track down a btrfs regression and need to revert a ~10 month old patch using 3.12.0-rc4 as the basis. This http://fedoraproject.org/wiki/Building_a_custom_kernel has ApplyPatch examples in the spec

Re: custom kernel, how to revert patch

2013-10-09 Thread Eric Sandeen
On 10/9/13 10:25 AM, Chris Murphy wrote: This http://fedoraproject.org/wiki/Building_a_custom_kernel has ApplyPatch examples in the spec file, which works fine. Is there an inverse command? Or do I need to do it manually with patch -p0 -R ? You could generate the reverse patch with: $ git