Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 10 Mar 2001 17:06:28 -0800 (PST)
From:      John Baldwin <jhb@FreeBSD.org>
To:        Jordan Hubbard <jkh@osd.bsdi.com>
Cc:        hackers@FreeBSD.org, mwlucas@blackhelicopters.org
Subject:   Re: context or unified diffs in PRs?
Message-ID:  <XFMail.010310170628.jhb@FreeBSD.org>
In-Reply-To: <20010310120318O.jkh@osd.bsdi.com>

next in thread | previous in thread | raw e-mail | index | archive | help

On 10-Mar-01 Jordan Hubbard wrote:
> The handbook is wrong.  Unidiffs are a far more advanced lifeform
> than context diffs. :)
> 
> - Jordan

As phk explained, a unified diff is a context diff. :)

If many changed lines are interleaved with unchanged lines, I find that a
context diff is far easier to read to understand the change than unified diff. 
For smaller changes, a unified diff is usually more compact and points out the
individual changes more readily.

-- 

John Baldwin <jhb@FreeBSD.org> -- http://www.FreeBSD.org/~jhb/
PGP Key: http://www.baldwin.cx/~john/pgpkey.asc
"Power Users Use the Power to Serve!"  -  http://www.FreeBSD.org/

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?XFMail.010310170628.jhb>