Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 346776

Summary: Optimise IndexDiff usage in StagingView
Product: [Technology] EGit Reporter: Bernard Leach <leachbj>
Component: UIAssignee: Bernard Leach <leachbj>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: caniszczyk
Version: 1.0   
Target Milestone: 1.0.0   
Hardware: All   
OS: All   
Whiteboard:

Description Bernard Leach CLA 2011-05-21 00:40:29 EDT
Currently the StagingView re-runs the IndexDiff on any selection change even if the selection corresponds to the same repository as is currently in the view.  This is currently required as we don't listen to changes to workspace resources so the StagingView will be out of date after any file modification.

Implement IResourceChangeListener and schedule a refresh job.
Comment 1 Bernard Leach CLA 2011-05-28 18:07:27 EDT
Initial implementation in http://egit.eclipse.org/r/#change,3562
Comment 2 Chris Aniszczyk CLA 2011-06-02 14:43:28 EDT
merged