Synchronize bug on the working tree [message #857912] |
Thu, 26 April 2012 19:39  |
Eclipse User |
|
|
|
Hey everyone,
I'm using right now the most current EGit nightly, and found a bug on the Team Synchronization.
After I do a "Syncronize Workspace", the Sync view, on the "Git Commits" settngs says that a bunch of files needs to be commited, but they are not changed at al. If I open the GIT Staging view they are not there. Double clicking in one to get the diff also shows no differences.
Also, after the last update, focusing on it is giving me a javanullpointer exception. What do you guys need to debug that?
|
|
|
|
|
Re: Synchronize bug on the working tree [message #861789 is a reply to message #859717] |
Sat, 28 April 2012 14:52   |
Eclipse User |
|
|
|
Dariusz Luksza wrote on Fri, 27 April 2012 15:29There could be two causes for this issue:
* if you are using windows, there could be different line endings in git and working version, this should be solved by setting up core.autocrlf = true; also current version of egit and jgit should handle properly this config option.
I'm indeed on Windows 7 but the rest of my team is on MacOS, so we use as setup core.autocrlf = false, and core.eol=lf . To force the unix line ending. Also we use .gitattributes which is not supported by eGIT. But this did not happen on 1.3 while I didn't change anything on the attributes.
Dariusz Luksza wrote on Fri, 27 April 2012 15:29
* change in file access permissions eg. execution bit was added/removed. In this case synchronize view will list such file as changed, because it doesn't ignore that changes. According to native git status command inplementation I would say that synchronize view should also ignore such changes. I'll propose a patch that should fix this.
So this is more likely, since it is not all files, just a couple of them.
|
|
|
|
|
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.04755 seconds