问题
It's been years the problem exists because there isn't a portable way for eclipse or java to detect symlinks.
Now symlinks are very, very useful so regardless of the non portable reason, would it be possible from an eclipse plugin to fix this and not have Egit consider symlinks and everything under it to be new files?
回答1:
We plan to implement in JGit using Java 7 (though there is no concrete timeline yet, contributions welcome), see [1], there is also a draft for a JNI based native implementation [2].
[1] https://bugs.eclipse.org/bugs/show_bug.cgi?id=354367 [2] https://git.eclipse.org/r/#/c/2125/
回答2:
It doesn't look as if this is going to happen any time soon, as this issue has apparently been around for ages. Unfortunately this a showstopper for me using egit. :-( And yes, I know, there's nothing to complain about in an open source project. I guess I should contribute myself...
来源:https://stackoverflow.com/questions/12011873/eclipse-egit-and-symlinks-or-symbolic-links-is-it-possible-to-make-a-dirty-ec