Skip to content

create exception for .bat files in check_eol #28

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

Merged
merged 1 commit into from
Jul 11, 2025

Conversation

ngonzalez-ccdc
Copy link
Contributor

  • Create an exception for .bat files when checking EOL in a non auto crlf environment (linux)
  • I think if core.autocrlf in the git config is true and the commit hook is run on a windows machine it will automatically perform the conversion of files specified in .gitattributes. However in the pipeline this is run in a linux machine and it checks all new and modified files for CRLF line endings and fails if it finds any (including .bat).

@ngonzalez-ccdc ngonzalez-ccdc merged commit bfe2d06 into main Jul 11, 2025
6 checks passed
@ngonzalez-ccdc ngonzalez-ccdc deleted the ignore-bat-files-in-non-autocrlf-environment branch July 11, 2025 13:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants