Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 334994 - Slow opening "Commit Changes" dialog
Summary: Slow opening "Commit Changes" dialog
Status: CLOSED DUPLICATE of bug 327913
Alias: None
Product: EGit
Classification: Technology
Component: Core (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-01-21 06:20 EST by Kevin Sheedy CLA
Modified: 2011-01-21 10:39 EST (History)
2 users (show)

See Also:


Attachments

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