Eclipse EGit Not Opening File Comparison

随声附和 提交于 2020-01-15 09:46:53

问题


I am using Eclipse (Photon 4.8.0) for a Git project. Before committing, I have been double clicking the files which appear in the unstaged changes section of the Git Staging View to remind myself of what I have changed before writing the commit message (I'm still new to Git so occasionally I will do several things before remembering that I have to commit my changes). However, double clicking on the file today merely opens the file, rather than opening the comparison view. I can still open the comparison view by right clicking the file and selecting Compare with Index but this takes more time and is frustrating.

As far as I know, I haven't changed any settings (not intentionally anyway). Can someone explain to me how to get back the behaviour I was seeing before please?


回答1:


Make sure, in the Git Staging view toolbar the

Compare Mode button is pressed.

See also EGit User Guide of the History view with the same icon.



来源:https://stackoverflow.com/questions/53885339/eclipse-egit-not-opening-file-comparison

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