Why Eclipse Don't Use Existing EOL Format Of Some File? [message #1844534] |
Thu, 16 September 2021 06:59  |
aleksandr den Messages: 3 Registered: September 2021 |
Junior Member |
|
|
I am new to Eclipse. I recently faced problem when I checked out some remote repo. I am using Eclipse in Windows. When I tried to commit back to the remote git repo, I saw whole file got changed when checking for difference. I solved it somehow using this link https://www.w3spot.com/2020/08/code-commit-from-windows-eclipse-shows-whole-file-changed-in-git.html . It was end of line issue. I was the only one using Windows & others were in Ubuntu.
Though problem got solved, I have a query. I want to understand why can't Eclipse maintain same EOL format for existing file. For example, I added a new function to an existing file. Eclipse would know that this file is using Ubuntu EOL format already. It should be able to use same format irrespective of the current operating system. Why it is not like that? Am I missing something?
[Updated on: Thu, 16 September 2021 07:05] Report message to a moderator
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.02881 seconds