Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    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 12:59 Go to next message
Matthew Webber is currently offline Matthew WebberFriend
Messages: 198
Registered: December 2010
Senior Member
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 16:05]

Report message to a 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 09:12 Go to previous messageGo to next message
Ondrej Medek is currently offline Ondrej MedekFriend
Messages: 23
Registered: July 2009
Junior Member
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 16:01 Go to previous message
Matthew Webber is currently offline Matthew WebberFriend
Messages: 198
Registered: December 2010
Senior Member
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: Fri Apr 19 21:08:46 GMT 2024

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

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

Back to the top