Couple of things.
1.My settings are the default recommend core.autocrlf=true. Probably best not to tell users to stray from that. The windows git installer and all guides I have seen recommend this.
2. Would it make more sense to inspect the file at the start of test to determine the line ending style rather than relying on the env which as you say would be different based on the got config?
3. Is this one specific test valuable enough to be a barrier/pain point for windows contribution?
|