diff options
author | Andrew Dunstan <andrew@dunslane.net> | 2024-07-10 09:53:47 -0400 |
---|---|---|
committer | Andrew Dunstan <andrew@dunslane.net> | 2024-07-10 09:53:47 -0400 |
commit | 628c1d1f2c82f1983e5248b5dfe53170dc23d90a (patch) | |
tree | 9f55771f44202e0db180dda5d151f04c35a4e6be /src/backend/utils/adt/numeric.c | |
parent | 05506510de6ae24ba6de00cef2f458920c8a72ea (diff) | |
download | postgresql-628c1d1f2c82f1983e5248b5dfe53170dc23d90a.tar.gz postgresql-628c1d1f2c82f1983e5248b5dfe53170dc23d90a.zip |
Use diff's --strip-trailing-cr flag where appropriate on Windows
Test result files might be checked out using Unix or Windows style line
endings, depening on git flags, so on Windows we use the
--strip-trailing-cr flag to tell diff to ignore line endings
differences.
The flag is added to the diff invocation for the test_json_parser module
tests and the pg_bsd_indent tests. in pg_regress.c we replace the
current use of the "-w" flag, which ignore all white space differences,
with this one which only ignores line end differences.
Discussion: https://postgr.es/m/20240707052030.r77hbdkid3mwksop@awork3.anarazel.de
Diffstat (limited to 'src/backend/utils/adt/numeric.c')
0 files changed, 0 insertions, 0 deletions