On Thu, Aug 09, 2012 at 12:26:33PM -0400, Justin Lebar wrote:
> > This will however
> > bitrot most of your patches, so I have put together a script here
> > <https://bugzilla.mozilla.org/attachment.cgi?id=650572> which helps you
> > unbitrot them.  This script handles mq patches, and needs to be run in the
> > top mozilla-central directory, and it creates a backup of your mq patches in
> > case something goes wrong.
> 
> I wonder what's the right thing to do for those of us using git (an
> increasingly large population!).  We can export all our branches as
> patches, run your script, and then re-import the patches, but that's a
> pain...
> 
> I feel like maybe what we should do is have a script which
> git-rebase's a branch to the parent of your change, then automatically
> exports the branch as patches, runs your script, and re-imports the
> branch, as a child of your change.
> 
> Anyone have a better idea?

git-filter-branch from and includingthe merge-base to the head of your
branch, and rebase.

Mike
_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform

Reply via email to