Are you sure that the changed files is caused by the multi-workspace setup? It could also be a problem with the core.autocrlf option. At Topicus, we decided to turn it off on all systems. EGit doesn't support it and caused more trouble than it does good.
Personally, I still like the solution with remotes. For example, I've got 2 workspaces for wicket: 1.5 and 6. I've added a remote to both: git remote add wicket-1.5 /home/papegaaij/workspaces/wicket-production git remote add wicket-6 /home/papegaaij/workspaces/master Now, when I commit on 1.5, I go to the other workspace and do a 'git fetch wicket-1.5'. This fetches my latest commit, which I can now cherry-pick onto wicket-6. For the application I work on for Topicus, I even use it to transfer entire branches from one workspace to another. Emond On Friday 06 January 2012 13:58:19 Johan Compagner wrote: > trying for quite some hours now to set it up nicely > the solution described in that link below doesn't work for windows users, > that just makes a copy. > > for windows users this script must be used: > > http://git.661346.n2.nabble.com/Fwd-git-git-new-workdir-for-Windows-9-td6479 > 570.html > > (run it as an admin else the symbolic links won't be created) > > That seems to work, the only problem i currently facing is that when i do a > synchronize in eclipse all files are marked as changed (which of course > none of them are) > Even a hard reset on the branch will not fix that. > So still not really a workable nice solution for this problem :( > > johan > > On Wed, Jan 4, 2012 at 16:43, Emond Papegaaij <emond.papega...@topicus.nl>wrote: > > With git, switching between branches is very fast, but as you said, with > > Eclipse it's not. You can have a look at this: > > http://finik.net/2010/10/24/multiple-working-folders-with-single-git- > > repository/<http://finik.net/2010/10/24/multiple-working-folders-with-si > > ngle-git-%0Arepository/> > > > > Another solution is to use git remotes to link the clones using (local) > > remotes. You can add a remote using 'git remote add <name> <path>', > > after > > which you can push/fetch changes between your workspaces directly. > > > > Personally, I use this last approach, but that's mainly because I do not > > yet > > feel comfortable enough to play with git internals :) > > > > Emond > > > > On Wednesday 04 January 2012 16:25:32 Johan Compagner wrote: > > > Currently i just have 3 workspaces for wicket (1.4,1,5 and > > > trunk/master) > > > > > > But git works with a/one working directory... > > > > > > thats always one of those.. > > > > > > So is the only solution to have the remote git repo dumped three > > > times on my disk? > > > I don't find that very logical.. > > > > > > And no i don't want to constantly switch, i could do that with > > > wicket if really needed, but i find that annoying because i also > > > look for our self (and eclipse projects also now move) > > > and there i have really all kind of changes in 1 when i want to go > > > to the other... > > > > > > And clicking between eclipse instances is way faster (i always have > > > 3 or more eclipse instances open on various workspaces) > > > > > > johan