Skip to content

Commit

Permalink
Set the default line endings to be GIT_ATTRIBUTES_FAST_ALLSAME.
Browse files Browse the repository at this point in the history
  • Loading branch information
nedtwigg committed Sep 28, 2023
1 parent 9c27d39 commit 54c0af2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ RegisterDependenciesTask getRegisterDependenciesTask() {
}

/** Line endings (if any). */
LineEnding lineEndings = LineEnding.GIT_ATTRIBUTES;
LineEnding lineEndings = LineEnding.GIT_ATTRIBUTES_FAST_ALLSAME;

public LineEnding getLineEndings() {
return lineEndings;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@
public abstract class AbstractSpotlessMojo extends AbstractMojo {
private static final String DEFAULT_INDEX_FILE_NAME = "spotless-index";
private static final String DEFAULT_ENCODING = "UTF-8";
private static final String DEFAULT_LINE_ENDINGS = "GIT_ATTRIBUTES";
private static final String DEFAULT_LINE_ENDINGS = "GIT_ATTRIBUTES_FAST_ALLSAME";

/** Value to allow unsetting the ratchet inherited from parent pom configuration. */
static final String RATCHETFROM_NONE = "NONE";
Expand Down

0 comments on commit 54c0af2

Please sign in to comment.