Re: [PATCH V2 00/13] xfs: remove the xfssyncd mess

Dave Chinner
2012-08-30T22:50:17Z

On Thu, Aug 30, 2012 at 02:15:16PM +0200, Markus Trippelsdorf wrote:
> On 2012.08.30 at 22:00 +1000, Dave Chinner wrote:
> > Version 2 of the patchset I described here:
> >
> > http://oss.sgi.com/archives/xfs/2012-06/msg00064.html
> >
> > This version has run through xfstests completely once, so it's
> > less likely to let smoke out....
>
> Is there a publicly accessible git tree available where one could pull
> from? (This would be way easier than saving and hand-applying 13
> patches.)

No.

Instead, save all the patches to a single mbox format file, then run:

$ git checkout -b umount-fix-test
$ git am <mbox file>

And it will apply all the patches as separate commits to the
umount-fix-test branch. This is how I take patch sets from my inbox
to git. You can build and testing them from there.

I, personally, convert them to a guilt series first, usually
integrating them into my working/test branch to test them along with
everything else I'm working on at the same time. To do this, I
generally do:

$ git checkout -b umount-fix-test working
$ git am <mbox file>
$ git checkout working
$ git log --pretty=oneline working..umount-fix-test
<record first and last commit id in applied series>
$ guilt import-commits <first-commit..last-commit>

And that adds the commits from the umount-fix-test branch into
individual patches in the guilt series preserving all the metadata
from the original sender in them. i.e. if I then patchbomb them back
to the mailing list, they will have the correct "From:" attribution
and dates as found in the original emails....

Cheers,

Dave.
--
Dave Chinner
david@fromorbit.com