[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Quilt-dev] how to merge patches?
From: |
jerome lacoste |
Subject: |
Re: [Quilt-dev] how to merge patches? |
Date: |
Sat, 3 Sep 2005 11:30:00 +0200 |
On 9/3/05, Jean Delvare <address@hidden> wrote:
> Hi Ashok,
>
> [Ashok Raj]
> > Seems like quilt fold will work, just I need to remove the entry from
> > series file?
>
> Yup, quilt fold is what you need if you want to merge several patches
> into one. Assuming that you have patches 1, 2 and 3 applied, and want to
> merge 2 and 3 together, you would do:
>
> quilt pop
> quilt delete 3
> quilt fold < patches/3
> # Verify that it worked OK, quilt diff should show 2 and 3 merged
> rm patches/3
Using quilt from cvs, you could save one operation using:
quilt pop
quilt fold < patches/3
quilt delete -r 3
Right?
I would even do a fork before the fold in order to be sure I don't
mess with patch 2.
J