[haiku-development] Re: Patch format?

  • From: Urias McCullough <umccullough@xxxxxxxxx>
  • To: haiku-development@xxxxxxxxxxxxx
  • Date: Wed, 31 Mar 2010 14:25:26 -0700

On Wed, Mar 31, 2010 at 2:06 PM,  <pete.goodeve@xxxxxxxxxxxx> wrote:
> from?  Should I include a path from "haiku/...", or just give the filename
> itself, assuming that the patcher goes to the directory first? (The only
> patch I could find quickly by scanning a few tickets did the latter.)
> If the former, should it be "haiku/trunk/src/..." or something else?

Preferably the diff is done from within the "trunk" (directory above src).

If you execute the diff from here, then the paths in the diff file
should be relative to this location, allowing someone to use patch -p0
from that same directory.

- Urias

Other related posts: