Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for git's core.autocrlf #1114

Merged
merged 4 commits into from
Feb 1, 2022
Merged

Add support for git's core.autocrlf #1114

merged 4 commits into from
Feb 1, 2022

Commits on Jan 30, 2022

  1. Add support for git's core.autocrlf

    Among others, Spotless uses .gitattributes to determine the line ending
    of files. In the absence of this file, Spotless falls back to `core.eol`
    from git config.
    
    Before this commit, Spotless ignored the `core.autocrlf` property. Git
    behaves in such a way that it ignores `core.eol` if `core.autocrlf` is
    set to `true` or `input`. This commit aligns the behavior of Spotless to
    favor `core.autocrlf` over `core.eol`.
    
    Fixes #540
    
    Signed-off-by: Roland Weisleder <[email protected]>
    rweisleder committed Jan 30, 2022
    Configuration menu
    Copy the full SHA
    b69a313 View commit details
    Browse the repository at this point in the history
  2. Add change to CHANGES.md

    Signed-off-by: Roland Weisleder <[email protected]>
    rweisleder committed Jan 30, 2022
    Configuration menu
    Copy the full SHA
    3e04c15 View commit details
    Browse the repository at this point in the history

Commits on Feb 1, 2022

  1. Make all enum cases explicit

    Signed-off-by: Roland Weisleder <[email protected]>
    rweisleder committed Feb 1, 2022
    Configuration menu
    Copy the full SHA
    fb849bd View commit details
    Browse the repository at this point in the history
  2. Apply formatting

    Signed-off-by: Roland Weisleder <[email protected]>
    rweisleder committed Feb 1, 2022
    Configuration menu
    Copy the full SHA
    2b0db7f View commit details
    Browse the repository at this point in the history