Skip to content

chore: add .gitattributes file for proper handling of line endings - #3134

Merged
erickzhao merged 1 commit into
electron:mainfrom
erikian:chore/gitattributes
Jan 9, 2023
Merged

erickzhao merged 1 commit into
electron:mainfrom
erikian:chore/gitattributes

Conversation

@erikian

@erikian erikian commented Jan 8, 2023

Copy link
Copy Markdown
Member
  • I have read the contribution documentation for this project.
  • I agree to follow the code of conduct that this project follows, as appropriate.
  • The changes are appropriately documented (if applicable).
  • The changes have sufficient test coverage (if applicable).
  • The testsuite passes successfully on my local machine (if applicable).

Summarize your changes:
Prevents Git from converting LF to CRLF on checkout in case someone has core.autocrlf set to true (as I did).

@erikian
erikian force-pushed the chore/gitattributes branch from 3e75153 to 0494e63 Compare January 8, 2023 16:16
@erikian
erikian force-pushed the chore/gitattributes branch from 0494e63 to 003b9f3 Compare January 8, 2023 16:47
@erickzhao
erickzhao merged commit 1fc62ec into electron:main Jan 9, 2023
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.

2 participants