git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Is there any hope (format-patch)??
@ 2008-08-01 12:05 Matti Kaasinen
  2008-08-01 17:35 ` Daniel Barkalow
  0 siblings, 1 reply; 3+ messages in thread
From: Matti Kaasinen @ 2008-08-01 12:05 UTC (permalink / raw)
  To: git

Hi!

Is there any hope with following procedure:
I took reporitory from linux git:
# git clone 
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git

For getting patches to make recent version from v2.6.26-rc3 I executed:
# git format-patch -o patchdir v2.6.26-rc3..origin

This produced 9486 patches, two of which were empty. They both appeared 
to have two references in git.kernel.org archive so that newer ones were 
empy.

Then I checked out v2.6.26-rc3 to a new branch and patched it with 
at91patch/maxim.org.za that was produced against v2.6.26-rc3. That 
worked out without complaints.

Then I ran:

#git quiltimport --patches patchdir

I suppose, it was the fourth patch of 9486 that failed. Fail did not 
come from any of those parts patched with at91 patch. Is this anything 
that should work? at91 patch fails if I try it right-away over the HEAD 
branch.

cheers,
Matti Kaasinen

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Is there any hope (format-patch)??
  2008-08-01 12:05 Is there any hope (format-patch)?? Matti Kaasinen
@ 2008-08-01 17:35 ` Daniel Barkalow
  0 siblings, 0 replies; 3+ messages in thread
From: Daniel Barkalow @ 2008-08-01 17:35 UTC (permalink / raw)
  To: Matti Kaasinen; +Cc: git

On Fri, 1 Aug 2008, Matti Kaasinen wrote:

> Hi!
> 
> Is there any hope with following procedure:
> I took reporitory from linux git:
> # git clone
> git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git
> 
> For getting patches to make recent version from v2.6.26-rc3 I executed:
> # git format-patch -o patchdir v2.6.26-rc3..origin

format-patch isn't going to work too well with non-linear history. When 
two people make nearby or overlapping changes which get merged later, and 
this gets turned into a linear sequence of changes, there's no 
possible patch that will accurately reflect the change which got ordered 
second.

> Then I checked out v2.6.26-rc3 to a new branch and patched it with
> at91patch/maxim.org.za that was produced against v2.6.26-rc3. That worked out
> without complaints.

It sounds like you really just want to do "merge origin" now, and skip the 
whole patch series thing.

You'll probably get some conflicts (or applying the patch directly to 
origin would have worked), but they should be relatively easy to resolve.

	-Daniel
*This .sig left intentionally blank*

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Is there any hope (format-patch)??
@ 2008-08-02 11:04 Matti Kaasinen
  0 siblings, 0 replies; 3+ messages in thread
From: Matti Kaasinen @ 2008-08-02 11:04 UTC (permalink / raw)
  To: git

Thanks Daniel,
some comments
> ------------------------------------------------------------------------
> On Fri, 1 Aug 2008, Matti Kaasinen wrote:
>
> >/ Hi!/
> >/ /
> >/ Is there any hope with following procedure:/
> >/ I took reporitory from linux git:/
> >/ # git clone/
> >/ git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git/
> >/ /
> >/ For getting patches to make recent version from v2.6.26-rc3 I executed:/
> >/ # git format-patch -o patchdir v2.6.26-rc3..origin/
>
> format-patch isn't going to work too well with non-linear history. When 
> two people make nearby or overlapping changes which get merged later, and 
> this gets turned into a linear sequence of changes, there's no 
> possible patch that will accurately reflect the change which got ordered 
> second.
>
> >/ Then I checked out v2.6.26-rc3 to a new branch and patched it with/
> >/ at91patch/maxim.org.za that was produced against v2.6.26-rc3. That worked out/
> >/ without complaints./
>
> It sounds like you really just want to do "merge origin" now, and skip the 
> whole patch series thing.
>   
Ok, I'll try how it works, when I get back to my desk. Well, I'm running 
out of time and possibly I need to stay in the current version.
> You'll probably get some conflicts (or applying the patch directly to 
> origin would have worked),
There came quite a lot of complaints from patching directly the origin. 
Strange that some were complaints of trying to re-create files. So, I 
just wonder if that patching really is needed. I suppose I should try to 
ask that from maxim.org.za
>  but they should be relatively easy to resolve.
>   
Well, hope so - direct patching to origin gave quite lot of complaints.
-Matti

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2008-08-02 11:15 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-08-01 12:05 Is there any hope (format-patch)?? Matti Kaasinen
2008-08-01 17:35 ` Daniel Barkalow
  -- strict thread matches above, loose matches on Subject: below --
2008-08-02 11:04 Matti Kaasinen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).