Eclipse EGit and git on command line show different status

余生颓废 提交于 2020-01-01 17:07:39

问题


In my git repository I can do git status and it tells me that everything is up to date:

[598] : git status
# On branch master
nothing to commit (working directory clean)

If I connect to the repository with EGit and do a synchronize in Eclipse I get:

Somehow EGit thinks that a lot of files have been removed and readded witht the same name. Since git status returns nothing to commit I expect to get an empty window here.

For completeness: This is on OSX 10.7 but I've seen the same problem on Window 7 Pro as well.

Any ideas what's going on here?


回答1:


You are using non 7-bit character here (the umlaut o). Sorry, this is known to cause trouble.

You have to recode the tree for utf8 filename. Even if you do this, this is not bug free.

See this question for git part, and this bug for egit part.



来源:https://stackoverflow.com/questions/10444398/eclipse-egit-and-git-on-command-line-show-different-status

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!