[PATCH] EXTRAVERSION Patch fuzz farm

Simon Kirby (sim@netnation.com)
Wed, 6 Jan 1999 22:30:34 -0800 (PST)


If you haven't seen this trick before, it's just a simple way of taking
advantage of the fact that "patch" can apply with fuzz when the context
matches and using it to combine version tags. If it isn't obvious, try
making several patches to the "Patches" file this patch creates -- make
each version have a different string in the top slot, as if several
different patches used the same slot. You should be able to then apply
and unapply any of the patches in any order and patch should find the
first available empty one if applying or the one that it was applied to
previously if reversing.

I'd find this addition quite helpful. I have so many of my own patches
that I apply to so many different kernels for many different servers, so
it's currently hard to keep track.

The "Patches" file this creates contains 32 "slots", so it will not work
if more than 32 tag-adding patches are applied. This is easy to fix --
just copy some more blank slots. It doesn't look the prettiest, but it
ends up working quite well from what I've tried.

Simon-

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/