GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Zero-out the global .gitconfig to fix issue which is only happening o… · diffplug/spotless@0c66cb0

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • lib-extra/src/main/java/com/diffplug/spotless/extra
    • GitAttributesLineEndings.java
Expand file treeCollapse file tree
Open diff view settings
Collapse file

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

Copy file name to clipboardExpand all lines: lib-extra/src/main/java/com/diffplug/spotless/extra/GitAttributesLineEndings.java
+2-1Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2016-2023 DiffPlug
2+
* Copyright 2016-2025 DiffPlug
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -193,6 +193,7 @@ static class RuntimeInit {
193193
/////////////////////////////////
194194
// USER AND SYSTEM-WIDE VALUES //
195195
/////////////////////////////////
196+
FS.DETECTED.setGitSystemConfig(new File("no-global-git-config-for-spotless"));
196197
systemConfig = SystemReader.getInstance().openSystemConfig(null, FS.DETECTED);
197198
Errors.log().run(systemConfig::load);
198199
userConfig = SystemReader.getInstance().openUserConfig(systemConfig, FS.DETECTED);

0 commit comments

Comments
0 (0)
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.