-
-
Notifications
You must be signed in to change notification settings - Fork 678
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
Update Gradle wrapper files #4985
Conversation
c08e797
to
f558914
Compare
Looks like you're changing the line endings which is creating an unnecessarily large diff. |
@jpelgrom thanks for pointing that out. For background information, the file is |
You likely have the wrong GIT settings for line endings: https://docs.github.com/en/get-started/getting-started-with-git/configuring-git-to-handle-line-endings |
Ah, I see now it is stored as LF in the repo (can't check that on GitHub) and with the file being Windows-specific it makes sense to change it. But please mention changes like that - most often people don't pay attention when this happens. Simply updating the file and committing doesn't give this result for everyone because of Git line endings settings. On this PR branch index is crlf
On the main branch index is lf
|
I can add a |
OK, that sounds good, but now you've changed gradlew.bat to LF again? (as evidenced by the changed files no longer including gradlew.bat) |
I’m not sure why it isn’t showing in the PR but locally on my computer it is still CRLF. I didn’t make any explicit changes to it.
|
No, it's definitely LF now. The file on your file system may have different line endings, use the Git specific command! That reports
|
37f060c
to
eb77ad8
Compare
Thanks for that. I see the same output as you for I tried a couple things including deleting the file with |
Hmm yes and now it wants to mark all images as changed too. Something's not right because of the attribute file. May I suggest only doing the first commit (so |
ab8dc4a
to
f9ccf7c
Compare
f9ccf7c
to
048c599
Compare
Good idea @jpelgrom . Done. I’ll create a separate PR to add the .gitattributes. |
Summary
Update Gradle wrapper files by running
./gradlew wrapper
.Screenshots
Link to pull request in Documentation repository
Documentation: home-assistant/companion.home-assistant#
Any other notes