RE: How can I share my patches ?

Jones D (djones2@glam.ac.uk)
Fri, 1 Oct 1999 15:34:48 +0100


> -Does any script exist in order to produce patch files ?

I just use two trees (linux.vanilla, and linux.new)

diff -urN linux.vanilla linux.new >linux.new.diff

> -How to include in that patch _new files_ created (I mean diff
> process should'nt see'em )?

Yes it should..
Every line in the new file will appear in the diff file with a +
before it.

> -Does a patch made for version X will apply on version Y ?

If the file(s) you patched haven't changed, they will apply.
If they have only slightly changed, they will in most cases
still apply (with offsets)
If they have undergone quite drastic changes, chances are
your patch will need re-applying by hand, and then re-diff'd.

regards,

Dave.

-
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/