[haiku-development] Re: Patch format?

  • From: Ingo Weinhold <ingo_weinhold@xxxxxx>
  • To: haiku-development@xxxxxxxxxxxxx
  • Date: Thu, 01 Apr 2010 11:31:58 +0200

On 2010-04-01 at 00:08:25 [+0200], pete.goodeve@xxxxxxxxxxxx wrote:
> On Wed, Mar 31, 2010 at 11:12:31PM +0200, Ingo Weinhold wrote:
> > 
> > You don't have to edit the patch.
> OK, thanks.  I understand from the man page that patch takes as possibles
> *all* the files that are listed, so that as long as one of them matches
> the target (beginning with 'src/...') it should find it.  So if the old
> file is in "src/.../servers/ALPHA1/...", and the revised one has the
> expected path of "src/.../servers/...", that should be fine(?).

Don't know about that. The usual approach when creating diffs against a 
source archive is to unzip it twice, edit one tree, and create a diff 
between the trees.

Another option is to import the source tree into a local SCM and work with 
that.

CU, Ingo

Other related posts: