Skip to main content



      Home
Home » Eclipse Projects » EGit / JGit » [SOLVED] Git Staging View shows ignored files in EGit 1.2.0+
[SOLVED] Git Staging View shows ignored files in EGit 1.2.0+ [message #791947] Mon, 06 February 2012 07:59 Go to next message
Eclipse UserFriend
I have a workspace that has been checked out, no changes made, and a build done, so the workspace now contains Java .class files. In the Git Staging View" for a repository:

With EGit 1.1.0.201109151100-r, the version bundled with Eclispe 3.7.1 (Indigo SR1), no changes are shown, which is what I expect.

After upgrading to EGit 1.2.0.201112221803-r, the staging view now shows all my .class files in the "Unstaged changes" section. This is not what I expect. The files themselves are untracked via .gitignore, and also via Window --> Preferences --> Team --> Ignore Resources, and the icon decoration in the view shows that EGit knows they are untracked.

Updating to EGit nightly 1.3.0.201202051215 does not fix the problem.

Is this change intentional? For me, it's very annoying - those files are untracked for a reason, and now I can't simply glance at the staging view to see what changes I have not added or not committed.

Bugzilla shows a number of open issues to do with the Staging View, but not this specific problem. Shall I open one?

Thanks

[Updated on: Tue, 07 February 2012 11:05] by Moderator

Re: Git Staging View shows ignored files in EGit 1.2.0+ [message #792674 is a reply to message #791947] Tue, 07 February 2012 04:12 Go to previous messageGo to next message
Eclipse UserFriend
Hi,

.gitignore and EGit 1.2.0 works well for me. So I suppose your problem is a kind of specific. Try to look into Eclipse workspace log .metadata\.log if you see anything related to the .gitignore.
icon14.gif  Re: Git Staging View shows ignored files in EGit 1.2.0+ [message #792964 is a reply to message #792674] Tue, 07 February 2012 11:01 Go to previous message
Eclipse UserFriend
My error: Our repositories typically contain multiple plugins, and one of them was missing its .gitignore. When that was added, the problem went away.

So, there was a bug in the previous release (1.1.0), that was fixed in 1.2.0, and not the other way around, as I had assumed.

Thanks
Previous Topic:Remote tracking branches not updated
Next Topic:How to install egit plugin on Eclipse 3.7.1 (Indigo)?
Goto Forum:
  


Current Time: Thu Jun 19 18:56:11 EDT 2025

Powered by FUDForum. Page generated in 0.04570 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top