切换分支后 egit 将文件标记为脏文件
当我从一个分支切换到另一个分支时,Eclipse 将某些文件(我不知道标准)标记为脏文件(带有 *)。
从控制台检查时一切正常。
我尝试将 core.filemode 设置为 false,但没有成功。
解决该问题的唯一方法是在控制台中执行 git Reset HEAD 文件名。
有没有办法让 Egit 不这样做?
埃吉特版本。 1.2.0.201112221903-r
When I switch from one branch to another, Eclipse marks some files (I don't known the criteria) as dirty (with an *).
When checking out from console all works ok.
I have tried set core.filemode to false, with no luck.
The only way to solve the problem is doing git reset HEAD filenames in console.
Is there a way that Egit don't do this?
Egit vers. 1.2.0.201112221903-r
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您能否尝试使用 夜间更新站点 中的较新 EGit 来重现此问题?
当文件的模式(权限)更改时出现问题,该问题不久前已修复。
Could you try to reproduce this using a newer EGit from the nightly update site?
There was a problem when the mode (permissions) of a file changed, which was fixed some time ago.