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

Fix .gitattributes to correctly handle binary files #2839

Merged
merged 1 commit into from
Jan 14, 2025

Conversation

kkawula
Copy link
Collaborator

@kkawula kkawula commented Jan 11, 2025

Closes #

Binary files should be excluded from line-ending normalization. In the current state, git is trying to normalize binary files that do not have eol char (and never had). This causes a newly cloned repo to have all binary files unstaged with warning CRLF will be replaced by LF the next time Git touches it. It may cause confusion in the upcoming hackathon.

Introduced changes

Checklist

  • Linked relevant issue
  • Updated relevant documentation
  • Added relevant tests
  • Performed self-review of the code
  • Added changes to CHANGELOG.md

@kkawula kkawula marked this pull request as ready for review January 13, 2025 09:22
@kkawula kkawula added this pull request to the merge queue Jan 14, 2025
Merged via the queue into master with commit 079563e Jan 14, 2025
38 checks passed
@kkawula kkawula deleted the kkawula/fix-binary-files branch January 14, 2025 20:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants