Re: Context diffs - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: Context diffs
Date
Msg-id 20210105175605.GL7432@momjian.us
Whole thread Raw
In response to Re: Context diffs  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
On Mon, Jan  4, 2021 at 02:42:16PM -0500, Tom Lane wrote:
> Bruce Momjian <bruce@momjian.us> writes:
> > Our developer FAQ mentions context diffs in several places for their
> > improved readability:
> >     https://wiki.postgresql.org/wiki/Developer_FAQ
> 
> I think that's kind of out of date; AFAIK the majority of hackers
> think -u format is more readable.  (For myself, I've gotten better
> at reading -u format, but I still find it illegible for complex
> changes.  Still, I try to always post patches in -u format to
> defer to the majority.)

OK, I removed the mention of "context" diffs from the developer FAQ.
I think I will produce unified diffs going forward, for the reasons
mentioned.

-- 
  Bruce Momjian  <bruce@momjian.us>        https://momjian.us
  EnterpriseDB                             https://enterprisedb.com

  The usefulness of a cup is in its emptiness, Bruce Lee




pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: set_config() documentation clarification
Next
From: Bruce Momjian
Date:
Subject: Re: Context diffs