[Top][All Lists]

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

Re: Easier to read diff -u output

From: Dan Hipschman
Subject: Re: Easier to read diff -u output
Date: Thu, 16 Nov 2006 09:42:12 -0800
User-agent: Mutt/1.5.9i

On Thu, Nov 16, 2006 at 07:27:34AM -0800, Bruce Korb wrote:
> 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

Good point.  Maybe I'm being too conservative.  I haven't gotten enough
feedback from anybody to know what people really want.  The current
implementation actually does a really good job on the test inputs I've
tried, so maybe we don't need more heuristics (or, at least not yet).


reply via email to

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