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

Bug 334994

Summary: Slow opening "Commit Changes" dialog
Product: [Technology] EGit Reporter: Kevin Sheedy <kevinsheedy>
Component: CoreAssignee: Project Inbox <egit.core-inbox>
Status: CLOSED DUPLICATE QA Contact:
Severity: normal    
Priority: P3 CC: caniszczyk, kevinsheedy
Version: unspecified   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:

Description Kevin Sheedy CLA 2011-01-21 06:20:51 EST
I'm working on a large repository, 340MB. Every time I click git -> add, a modal dialog appears with the text "calculating changes in selected repositories". This takes approx 5 seconds. During this time, eclipse is completely locked and I can't do anything. I think this is too long to make the user wait every time they want to commit a file.

Suggested changes:
1) Instead of the "calculating changes" dialog, show the "commit" dialog immediatly. Initially, the file list could display the text "loading..." The changed files could be retrieved and displayed after the dialog is visible. The user can start writing their comment while the list is being retrieved.

2) Optimize the code for retrieving this list. The command line equivalent, "git status" takes approx 1 second to retrieve the list for this repository versus 5 seconds to bring up the eGit commit dialog. (MSysGit, Win XP)

3) Special case: The user only wants to commit the currently open file. This should be possible without any delay.
Comment 1 Chris Aniszczyk CLA 2011-01-21 10:39:29 EST
Can you try the latest nightly builds? We made some improvements in this area.

Duplicate of bug 327913.

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