Reputation: 1807
Unfortunately, I cannot guess preconditions for this behaviour. Because I faced with it on one (virtual) machine with Ubuntu while on the other one with Arch it is not reproduced. On both systems the Eclipse IDEs are installed not via OS package managers (i.e., downloaded and unpacked in home directory). All IDEs (BTW, the Eclipse CDT) are up to date.
Steps:
On the other of my systems, the History view remains being "git". Plus, the "Change the File Scope for the History" tool-button becomes enabled and I can filter commits using this button.
As far as I understand, there is some trouble in choosing right Eclipse plugin to show the history, but I cannot imagine which and how to fix it.
Upvotes: 1
Views: 582
Reputation: 1807
Thanks to David M. Karr, I found that if a git repository is placed not at the same path-level as an Eclipse project containing it (below, for example, as in my case), then the behaviour mentioned in the question is observed. If I close the Eclipse project (it's not necessary even to delete it from Eclipse projects list) and open the same file using the Git Repositories view, I'm getting the desired bahaviour.
Upvotes: 1