-
Notifications
You must be signed in to change notification settings - Fork 13
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 .gitattributes
, unify eol/encoding
#1
Conversation
Thanks. Looks like Visual Studio may need the Footnotes |
Now that you mention it, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you revert the GUID changes to Godot.sln
(as discussed in godotengine/godot#91479 (comment))? Then it should be good to merge, thanks!
Somehow missed that I never got that fix in, whoops. Well, better late than never! |
It looks like the tests are failing on Windows because it expects CRLF endings in the generated |
b2e63e5
to
e09b5ef
Compare
The easiest workaround I could find was ensuring the generated files use |
That doesn't explain why the tests were passing before. Could it be that I wonder if we could have the generator tests ignore line endings instead when comparing. |
I believe the default checkout behavior for Git on Windows has In any case, I applied the changes to the generator tests instead. Now after reading the files it converts the line endings to |
That seems like the recommended approach1 so it works for me 👍 Footnotes |
Thanks! |
Implements a basic
.gitattributes
to further ensurelf
as the repository encoding. Additionally touched a handful of files that weren't usinglf
/utf8
as expected.