[haiku-development] Re: GIT help

  • From: François Revol <revol@xxxxxxx>
  • To: haiku-development@xxxxxxxxxxxxx
  • Date: Thu, 04 Apr 2013 07:48:57 +0200

On 04/04/2013 02:49, Pete Goodeve wrote:
>>
>>> I did: "git format-patch work " 
>>
>> You need to provide some sort of commit range. Looking at the current
>> docs of git format-patch I don't see how one could use a branch name,
>> so I think the above documentation from our patch page is wrong.
> 
> I would say it is definitely wrong! Some knowledgeable individual should
> do some rewriting, as this is apparently important information!
> 


You'll want to try '..':

git format-patch origin..HEAD
(for the commits between the official tree and the local master)

git format-patch master..work
(for the ones between the master branch and work (which would better be
rebased I suppose)

François.

Other related posts: