bug-gnu-utils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Easier to read diff -u output


From: Bruce Korb
Subject: Re: Easier to read diff -u output
Date: Thu, 16 Nov 2006 07:27:34 -0800

However, project maintainers that have to carefully examine patches that
people send them probably won't like this because they will have to scan
these complicated lines very carefully to determine whether the line has
changed or not.  If we only absorb very simple lines, it's immediately
obvious.

Patching source is not the only use of "diff -u".  The primary use of your
enhancement is for human readability.  In fact, it removes any continued
interest (for me) for using the ``-c'' option.  Besides, it is trivial to derive
the minimal diff:

 cp target target-old
 patch < readable-diff
 diff -u --minimalist target-old target

Thank you again!  Regards, Bruce




reply via email to

[Prev in Thread] Current Thread [Next in Thread]