切换分支后 egit 将文件标记为脏文件

发布于 2025-01-05 18:37:42 字数 232 浏览 3 评论 0原文

当我从一个分支切换到另一个分支时,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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

别念他 2025-01-12 18:37:42

您能否尝试使用 夜间更新站点 中的较新 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.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文