[haiku-development] Re: [PATCH 3/4] Remove special handling of vesa driver from screen preflet.

  • From: "Rene Gollent" <anevilyak@xxxxxxxxx>
  • To: haiku-development@xxxxxxxxxxxxx
  • Date: Wed, 28 May 2008 13:34:32 -0500

On Wed, May 28, 2008 at 1:30 PM, Stephan Assmus <superstippi@xxxxxx> wrote:
> How do I do that? Last time I did exactly that using Pe + Find&Replace. Is
> there a better way?
>

This is precisely what the -p parameter of patch does. the number
following the p indicates how many levels of the filename paths to
remove before trying to apply the patch. I.e. -p0 removes the
component preceding the first /, -p1 removes a/b, etc. No need to hand
edit the diffs in Pe.

Regards,

Rene

Other related posts: