Community
Participate
Working Groups
When you manage your git repository with Eclipse, it's a real pain. Unless the whole git repository has been imported as a project in Eclipse, I cannot see how I can refresh the working tree to make Eclipse/Egit aware of changes in the filesystem. In the Git Staging view, changes that have been done in the file system while Eclipse is running are simply not shown. I can press F5 while selecting the working tree of the corresponding repository. Nothing happens. I can press F5 while the focus is on the Git Staging view. Nothing happens. In the (right click) context menu of the working tree, there is no refresh action either. Having "Refresh using native hooks or polling" enabled in the workspace settings has no effect either. A user is also affected, if the projects imported into eclipse only cover certain subfolders. Changing files outside that hierarchy will not show up in the Git Staging view as Unstaged Changes. Please consider added the necessary menu items and shortcuts (F5) so that users can update the cached information about the filesystem if files have been changes outside of Eclipse.
A workaround is to restart Eclipse: then changes in the filesystem are shown.
To make it clear, I refer to changed done outside of Eclipse. If changes are done inside Eclipse, they are immediately reflected in the Git Staging view.
Work-around: click the refresh button in the staging view's toolbar. Refresh via F5 in the git repositories view works, but doesn't update the staging view.
New Gerrit change created: https://git.eclipse.org/r/c/egit/egit/+/170321
I apologize, I missed the refresh button in the Git Staging view. Is it possible to also make F5 available when the focus is on the Git Staging view?
(In reply to Sven Köhler from comment #5) > I apologize, I missed the refresh button in the Git Staging view. > Is it possible to also make F5 available when the focus is on the Git > Staging view? That's what this change: (In reply to Eclipse Genie from comment #4) > New Gerrit change created: https://git.eclipse.org/r/c/egit/egit/+/170321 does. No need to apologize. Thanks for reporting it. Indeed the setup to make the key binding work was missing.
Gerrit change https://git.eclipse.org/r/c/egit/egit/+/170321 was merged to [master]. Commit: http://git.eclipse.org/c/egit/egit.git/commit/?id=47be7c3c461412a85b087df105fd9393418978a8
New Gerrit change created: https://git.eclipse.org/r/c/egit/egit/+/170339
Gerrit change https://git.eclipse.org/r/c/egit/egit/+/170339 was merged to [master]. Commit: http://git.eclipse.org/c/egit/egit.git/commit/?id=935ccb0ffd6957fe39accf13cede0184688d1a53
Also added the key binding to the history page.