Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature request: filesystem monitor #14

Open
cristian-anita opened this issue May 18, 2021 · 1 comment
Open

Feature request: filesystem monitor #14

cristian-anita opened this issue May 18, 2021 · 1 comment
Labels
help wanted Extra attention is needed

Comments

@cristian-anita
Copy link

cristian-anita commented May 18, 2021

Currently if megit is opened and a file is modified then the change is not detected (for ex in staging view); megit needs to be closed and opened again or refreshed to detect the change. Please add a filesystem watcher to monitor working dir and update various views on detected changes automatically.

@planger planger added the help wanted Extra attention is needed label Oct 1, 2021
@subes
Copy link

subes commented Oct 19, 2021

Eclipse/EGit requires projects to be imported as "projects" to make the filesystem watcher work on them properly. To do this:

Settings to apply:

Window → Preferences → General → Workspace → Refresh using native hooks or polling → Check

Window → Show View → Other… → General → Project Explorer → Open

    In Project Explorer click the three dots (…) → Filters and Customization… → .* resources → Uncheck → OK

Import Repositores for each git repo/submodule

Git Repositories View → Add a local Git repository to this view → Do this for each repository

Then import your repositories as projects. Only with that the files will stay in sync; though you can sync everything by refreshing the project.

Right click on a folder in Git Repositories View → Import Projects… → Finish

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants