Skip to content

Commit acfe139

Browse files
committed
Switch pg_regress to output unified diffs by default
Author: Christoph Berg <myon@debian.org> Discussion: https://www.postgresql.org/message-id/flat/20170406223103.ixihdedf6d6d4kbk@alap3.anarazel.de/
1 parent 69ae9dc commit acfe139

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

doc/src/sgml/regress.sgml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -410,7 +410,7 @@ make standbycheck
410410
If you don't
411411
like the <command>diff</command> options that are used by default, set the
412412
environment variable <envar>PG_REGRESS_DIFF_OPTS</envar>, for
413-
instance <literal>PG_REGRESS_DIFF_OPTS='-u'</literal>. (Or you
413+
instance <literal>PG_REGRESS_DIFF_OPTS='-c'</literal>. (Or you
414414
can run <command>diff</command> yourself, if you prefer.)
415415
</para>
416416

src/test/regress/pg_regress.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,10 +62,10 @@ static char *shellprog = SHELLPROG;
6262
*/
6363
#ifndef WIN32
6464
const char *basic_diff_opts = "";
65-
const char *pretty_diff_opts = "-C3";
65+
const char *pretty_diff_opts = "-U3";
6666
#else
6767
const char *basic_diff_opts = "-w";
68-
const char *pretty_diff_opts = "-w -C3";
68+
const char *pretty_diff_opts = "-w -U3";
6969
#endif
7070

7171
/* options settable from command line */

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy