Community
Participate
Working Groups
Created attachment 182919 [details] screenshot of synch view disrespecting the .gitignore file Using Eclipse 3.6 and eGit 0.9.3, I can't get .gitignore file to be respected - see attached screenshot. --- Meanwhile, commandline, all the .gitignore'd stuff is actually ignored: $ git status # On branch master # Changed but not updated: # (use "git add <file>..." to update what will be committed) # (use "git checkout -- <file>..." to discard changes in working directory) # # modified: target-platform/.gitignore # no changes added to commit (use "git add" and/or "git commit -a") --- Repo being synched is a git-svn checkout of http://anonsvn.jboss.org/repos/jbosstools/trunk/build/
Nick, can you check it on newest version of EGit. I think that issues with .gitignore was solved since 0.9.3
I think this should be fixed by now. Could you please check it on 1.0 release?
Version: 4.1.0 Build id: I20110620-1631 Eclipse EGit 1.1.0.201106282013 I'm seeing this too using the latest e4 build. I had some JARs in the Sync view and I hit "Ignore" so it created a .gitignore file. At this point I would have expected the JARs to be removed from the view but they weren't. When I removed the synchronization from the view and then re-added it, the JARs we not in the view. (as expected)
Not sure if I'm seeing *exactly* the same problem or not, or if this is a duplicate of or related to bug 350269 or bug 322454, but I'm seeing similar behavior. Files added using the "Ignore" menu item or directly edited into .gitignore are not disappearing from the synchronization view until I do a Synchronize Workspace. Using EGit 1.0.0.201106090707-r in Eclipse 3.7 (Indigo) build 20110615-0604
*** This bug has been marked as a duplicate of bug 322454 ***