I started using EGit with eclipse and one of my directories (which contains many submodules and regular directories) always shows as dirty. I have tried to git reset --hard
and re-create the project from scratch. If I select the directory and Compare With git index or HEAD, it does not show any changes.
If I use git on the command line for the folder, git status
does not show any pending changes and git submodule
lists all the submodules correctly. Using EGit, I tried to set the Assume Unhanged
option. But this propagates to child directories too (which isn't desirable).
I am using Eclipse 4.2.1, EGit 2.1.0, and Geppetto 3.0.0. What else could cause this directory to always show as dirty? Any way to just ignore changes to this directory (but still changes to the siblings)?
Update - Oct 2nd, 2013:
Update - Sept 24th, 2014:
It could also be due to differences in line-endings between the multiple people who have pushed to the remote repo, the remote repo (usually bare, but OS-specific line-endings), and your git settings. Is this something that you can verify?
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With