Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
menu search
person
Welcome To Ask or Share your Answers For Others

Categories

I have an Eclipse RCP app, and git is now acting very weird. Everytime we change some line in class or any file, git accuses that whole file was changed.
See this gist: https://gist.github.com/luizkowalski/5968143
The only thing that was really changed was this line: Bundle-Version: 2.6.13 to Bundle-Version: 2.6.14.
This behavior started some days ago. We do not updated git on our machines. This diff was generated by GitHub

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
189 views
Welcome To Ask or Share your Answers For Others

1 Answer

This is not a new feature or a bug. This is a result of something you guys committed unknowingly. Remember, Git is tracking all changes to the binary data of your repo. Several types of changes could have caused this. Has anyone copied the whole text of this document from one editor to another, replacing the original with the copy (perhaps across different operating systems)? Has the character set your project is using changed lately? Other things can cause this type of change detection too, but what is important to understand is that this is not an error on Git's part.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
...