Not sure if I follow you here. The above is not quite my definition of
easy - I'd probably sooner concat a pair of patches and rediff 'em.
> - Reorder patches (edit series file, poppatch 10; pushpatch 10)
I throw all my patches in a directory tree called patchset, ordering
implicit in filenames. Note the tree part, which allows me to reorder
series as directories or individual patches in series. My 'kapply'
script takes a regex matching last patch to apply.
> - Remove a patch which is partway down the stack:
>
> rpatch patch-7-out-of-10
Just a filesystem op for me: mv patchset/a/07 patchset/a/07.skip
> - make changes to a not-topmost patch without having to do
> anything special.
Unless of course you're touching that file somewhere else in the
stack. As I see it, I'm generally doing one of two things:
- doing serial changes on a few files for a rewrite
- doing a tree-wide search and replace
Both approaches lose for the first, mine wins for the second, yours
wins for a third that's practically unique to the VM work you're doing:
- tweak n file-orthogonal patches
I think there might be a way to combine the good points of both by
automating a don't-diff-list, but the first one is still a challenge.
> Changelog tracking is fairly important to me also.
Not sure I see the connection? By the way, I keep my descriptions with
my patches, so I only have to keep track of the 'final product'.
Before I switched from bash to Python, I used something like this to
pull out the preamble:
head -$((`grep -n "^diff -" ../$p | head -1 | cut -d : -f 1` - 1 )) \
../$p > .patchdesc.tmp
-- "Love the dolphins," she advised him. "Write by W.A.S.T.E.." - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/