Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 346776 - Optimise IndexDiff usage in StagingView
Summary: Optimise IndexDiff usage in StagingView
Status: RESOLVED FIXED
Alias: None
Product: EGit
Classification: Technology
Component: UI (show other bugs)
Version: 1.0   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: 1.0.0   Edit
Assignee: Bernard Leach CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-05-21 00:40 EDT by Bernard Leach CLA
Modified: 2011-06-02 14:43 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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