Skip to contentSkip to conversation

Is there any hope (format-patch)??

DISCUSSION Matti Kaasinen 1 participant 1 message Jun 15, 2016

lore
Share & tools
lore
#0 lore raw

Thanks Daniel,
some comments

Quoted 13 lines

------------------------------------------------------------------------

Quoted 9 lines · Matti Kaasinen

/ 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/

Quoted 8 lines

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.

Quoted 3 lines

/ 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.

Quoted 1 line

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

Quoted 2 lines

but they should be relatively easy to resolve.

Well, hope so - direct patching to origin gave quite lot of complaints. -Matti