Skip to content

Commit b6d8dc0

Browse files
author
ntwigg
committed
Add more info in the comment.
1 parent f3d5bc1 commit b6d8dc0

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

lib-extra/src/main/java/com/diffplug/spotless/extra/GitAttributesLineEndings.java

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -192,8 +192,10 @@ static class RuntimeInit {
192192
/////////////////////////////////
193193
// USER AND SYSTEM-WIDE VALUES //
194194
/////////////////////////////////
195-
FS.DETECTED.setGitSystemConfig(new File("no-global-git-config-for-spotless")); // this fixes a problem
196-
// that was only occurring on Java 11. If we remove support for Java 11, we could probably remove it.
195+
FS.DETECTED.setGitSystemConfig(new File("no-global-git-config-for-spotless"));
196+
// ^^^ fixes a problem that was only occurring on Java 11. If we remove support for Java 11, we could probably remove it.
197+
// EDIT: Wrong, when Java 17 became the baseline it only happens on Java 17. https://github.com/diffplug/spotless/issues/2375#issuecomment-2573885902
198+
197199
systemConfig = SystemReader.getInstance().openSystemConfig(null, FS.DETECTED);
198200
Errors.log().run(systemConfig::load);
199201
userConfig = SystemReader.getInstance().openUserConfig(systemConfig, FS.DETECTED);

0 commit comments

Comments
 (0)