[Top] [All Lists]

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

To: Markus Trippelsdorf <markus@xxxxxxxxxxxxxxx>
Subject: Re: [PATCH V2 00/13] xfs: remove the xfssyncd mess
From: Dave Chinner <david@xxxxxxxxxxxxx>
Date: Fri, 31 Aug 2012 08:51:08 +1000
Cc: xfs@xxxxxxxxxxx
In-reply-to: <20120830121516.GA285@x4>
References: <1346328017-2795-1-git-send-email-david@xxxxxxxxxxxxx> <20120830121516.GA285@x4>
User-agent: Mutt/1.5.21 (2010-09-15)
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.)


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


Dave Chinner

<Prev in Thread] Current Thread [Next in Thread>