|
|
Re: Synchronize bug on the working tree [message #859717 is a reply to message #857912] |
Fri, 27 April 2012 19:29 |
|
There 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.
* 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.
|
|
|
Re: Synchronize bug on the working tree [message #861789 is a reply to message #859717] |
Sat, 28 April 2012 18:52 |
Samuel Sol Messages: 24 Registered: January 2011 |
Junior Member |
|
|
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.05294 seconds