Re: Context diffs - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Context diffs
Date
Msg-id 3165090.1609789336@sss.pgh.pa.us
Whole thread Raw
In response to Context diffs  (Bruce Momjian <bruce@momjian.us>)
Responses Re: Context diffs  (Bruce Momjian <bruce@momjian.us>)
List pgsql-hackers
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.)

It is true that some of the tools we use don't work right with
anything except "git diff" output or close equivalents.

            regards, tom lane



pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Context diffs
Next
From: Peter Geoghegan
Date:
Subject: Re: Context diffs