So, I was chatting with Jean about the possible extension of
quilt to be able to “squash” two neighbouring patches (for which
he gratiously filed the above mentioned bug). I would think that
the possible implementation could be described by this pseudocode
(not sure how to actually write such extension with real quilt
code; with the current patch being the one which should be on the
bottom):

    NEXT="$(quilt next)"
    quilt fold < "patches/${NEXT}"
    NEXT_HEADER="$(quilt header ${NEXT})"
    quilt delete -n
    echo ${NEXT_HEADER} | quilt header -a
    quilt header -e
    quilt rename "${NEXT}"
    quilt refresh

Is that it?

Best,

Matěj

-- 
http://matej.ceplovi.cz/blog/, @mc...@en.osm.town
GPG Finger: 3C76 A027 CA45 AD70 98B5  BC1D 7920 5802 880B C9D8
 
I didn’t attend the funeral, but I sent a nice letter saying
I approved of it.
      -- Mark Twain

Attachment: E09FEF25D96484AC.asc
Description: application/pgp-keys

Attachment: signature.asc
Description: PGP signature

_______________________________________________
Quilt-dev mailing list
Quilt-dev@nongnu.org
https://lists.nongnu.org/mailman/listinfo/quilt-dev

Reply via email to