On Thursday, October 24, 2002, at 02:58  PM, Robert wrote:
Forgive me for asking this off topic question, but I've looked around
the net a bit and can't seem to find an answer. I know that when
submitting a patch for some piece of code you like to have the patch
submitted by doing a "diff -u"  command, correct?
You don't *have* to use "-u", it just makes the patch more human-readable.

for example, I create a patch, do a diff on it and send it to the list,
how to you commiters actually apply it? I know how to commit a source
file, but is that different than applying a patch?
the 'patch' command! 'diff' and 'patch' are two well-known command-line utilities. given a patch file, it is easy to apply via "patch -p0 < patch.filename'"

and then commit per usual.
-pete


--
To unsubscribe, e-mail: <mailto:avalon-dev-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:avalon-dev-help@;jakarta.apache.org>



Reply via email to