Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 326304 - untracked file label decoration is not propagated to ancestors
Summary: untracked file label decoration is not propagated to ancestors
Status: CLOSED DUPLICATE of bug 345099
Alias: None
Product: EGit
Classification: Technology
Component: UI (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P3 major (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-09-27 09:51 EDT by Rizsike CLA
Modified: 2012-01-05 11:22 EST (History)
5 users (show)

See Also:


Attachments
Screenshot where a decorator should be seen on the project (16.07 KB, image/png)
2010-09-27 09:53 EDT, Rizsike CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Rizsike CLA 2010-09-27 09:51:30 EDT
Build Identifier: 20100617-1415

Untracked files labels are decorated with a question mark. Folders and projects containing untracked files are not decorated though.

Other changes in the working copy are shown on the ancestor correctly.


Reproducible: Always

Steps to Reproduce:
1. Add a new local git repository
2. Import a project from the reporsitory into Workspace
3. Create a new file in the project
Comment 1 Rizsike CLA 2010-09-27 09:53:15 EDT
Created attachment 179638 [details]
Screenshot where a decorator should be seen on the project
Comment 2 Stefan Lay CLA 2010-10-22 07:50:22 EDT
This is the intended behavior. If you want to find untracked files you can open the commit dialog.
Comment 3 Patrick Holthuizen CLA 2010-10-24 14:52:23 EDT
Why is this intended behavior? I think this behavior enlarges the chance on errors. If I have several related projects open at the same time and I only added some resources to one project which become untracked. Then there is a chance I can forget to commit those changes if they are not visible on the project top level node. How should egit work in such a case?
Comment 4 Stefan Lay CLA 2010-10-25 04:55:06 EDT
I think the propagation was not done due to performance reasons. But I see your point. Other team providers like cvs or mercurial have a preference "Compute deep decoration state". 

I'll reopen this bug as an enhancement request.
Comment 5 Dani Megert CLA 2012-01-05 11:19:38 EST
This is really a bug because one might miss to commit & push a new file.
Comment 6 Dani Megert CLA 2012-01-05 11:22:33 EST

*** This bug has been marked as a duplicate of bug 345099 ***