I'm using eclipse egit with github. I found something strange that I didn't change anything, but egit marked the file as "changed". See the images:
the file "run.bat" is marked as "changed"
![enter image description here](https://i.stack.imgur.com/I5RtP.jpg)
Compare with "file in Git index", you can see nothing is different
![enter image description here](https://i.stack.imgur.com/wMb4S.png)
Compare with "file in HEAD", you can see nothing is different neither
![enter image description here](https://i.stack.imgur.com/HyVqd.png)
My friend uses mac and I use windows, but we all configured git as "commit unix lineend".. I also checked the lineend of my source and the HEAD, they are the same(I configured git to convert them to "
" when pulling)
Where is wrong? Is it a bug of Egit?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…