Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitacfe139

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 parent69ae9dc commitacfe139

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
#ifndefWIN32
6464
constchar*basic_diff_opts="";
65-
constchar*pretty_diff_opts="-C3";
65+
constchar*pretty_diff_opts="-U3";
6666
#else
6767
constchar*basic_diff_opts="-w";
68-
constchar*pretty_diff_opts="-w -C3";
68+
constchar*pretty_diff_opts="-w -U3";
6969
#endif
7070

7171
/* options settable from command line */

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp