public inbox for [email protected]
help / color / mirror / Atom feedFrom: Andrew Dunstan <[email protected]>
To: Tom Lane <[email protected]>
To: Andres Freund <[email protected]>
Cc: [email protected]
Cc: Dave Page <[email protected]>
Subject: Re: tests fail on windows with default git settings
Date: Sun, 7 Jul 2024 06:30:57 -0400
Message-ID: <[email protected]> (raw)
In-Reply-To: <[email protected]>
References: <[email protected]>
<[email protected]>
On 2024-07-07 Su 1:26 AM, Tom Lane wrote:
> Andres Freund <[email protected]> writes:
>> Do we want to support checking out with core.autocrlf?
> -1. It would be a constant source of breakage, and you could never
> expect that (for example) making a tarball from such a checkout
> would match anyone else's results.
Yeah, totally agree.
>> If we do not want to support that, ISTM we ought to raise an error somewhere?
> +1, if we can figure out how.
>
>
ISTM the right fix is probably to use PG_BINARY_R mode instead of "r"
when opening the files, at least in the case if the test_json_parser tests.
cheers
andrew
--
Andrew Dunstan
EDB: https://www.enterprisedb.com
view thread (4+ messages) latest in thread
reply
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: [email protected]
Cc: [email protected], [email protected], [email protected], [email protected]
Subject: Re: tests fail on windows with default git settings
In-Reply-To: <[email protected]>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox