RFR: 8252769: Warn in configure if git config autocrlf has invalid value

Magnus Ihse Bursie ihse at openjdk.java.net
Fri Mar 4 12:07:17 UTC 2022


Over and over again, people are running into issues when their git config has core.autocrlf set to true or input. (This is apparently done by default by some Windows git installations.)

This will not work with the OpenJDK build system.

We should check this at configure time and give suitable warning message if this is detected.

-------------

Commit messages:
 - 8252769: Warn in configure if git config autocrlf has invalid value

Changes: https://git.openjdk.java.net/jdk/pull/7690/files
 Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=7690&range=00
  Issue: https://bugs.openjdk.java.net/browse/JDK-8252769
  Stats: 13 lines in 2 files changed: 11 ins; 1 del; 1 mod
  Patch: https://git.openjdk.java.net/jdk/pull/7690.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/7690/head:pull/7690

PR: https://git.openjdk.java.net/jdk/pull/7690



More information about the build-dev mailing list