On Tuesday, June 07, 2005 12:49:59 PM -0400 Derrick J Brashear <[EMAIL PROTECTED]> wrote:

On Tue, 7 Jun 2005, Wes Chow wrote:


diff without -c or -u is sort of useless

My diff defaults to -c 3 -u 3.

25c25
< static void afs_GetDownD(int anumber, int *aneedSpace);

is neither a context nor a unified diff. so, if that's what they tell
you, they're lying.

Not lying; just misunderstanding his documentation.
-c means to generate context diffs, which are acceptable
-u means to generate unified diffs, which are preferred
The default is to generate "normal" diffs, which are useless as patches.

Most versions of diff, including the one in question, default to using 3 lines of context in both unified and context modes. However, they still default to normal mode; you must use the appropriate switch to select a different mode.

-- Jeff
_______________________________________________
OpenAFS-info mailing list
[email protected]
https://lists.openafs.org/mailman/listinfo/openafs-info

Reply via email to