Re: Time to change pg_regress diffs to unified by default?
Tom Lane <tgl@sss.pgh.pa.us>
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Andres Freund <andres@anarazel.de>
Cc: pgsql-hackers@postgresql.org
Date: 2017-04-06T23:01:32Z
Lists: pgsql-hackers
Andres Freund <andres@anarazel.de> writes: > I personally, and I know of a bunch of other regular contributors, find > context diffs very hard to read. Besides general dislike, for things > like regression test output context diffs are just not well suited. Personally, I disagree completely. Unified diffs are utterly unreadable for anything beyond trivial cases of small well-separated changes. It's possible that regression failure diffs will usually fall into that category, but I'm not convinced. regards, tom lane
Commits
-
pg_regress: Don't use absolute paths for the diff
- 1995552deb54 12.0 landed
-
Use standard diff separator for regression.diffs
- 8f27a14b1bd3 12.0 landed