Staging or unstaging a file takes almost 3 seconds. This is on a top-end late-2013 Macbook Pro.
It doesn't make a difference if it's done from the menu or by double-clicking.
It's the same whether it's adding a new file, or staging changes to an existing file. Even a few lines changed in a modestly-sized file (few hundred lines) exhibits this.
I do not have any untracked files.
I tried changing the view filter from "Show Pending" to "Show Modified" and that didn't help either; if anything it made it worse (5 seconds!).
How can I improve this?
SourceTree 1.8.1, using embedded Git.
Macbook Pro, OS X 10.9.1, 2.6GHz Core i7, 16GB RAM
git add or git stash on the command line are both instantaneous. This delay is definitely coming from Sourcetree rather than Git. To further describe what I see:
A dialog pops up saying "Staging files". This disappears after about half a second.
Two little round spinning progress indicators pop up; one in the working tree, and one in the index. These spin round for 2 or 3 seconds.
The file in question finally disappears from the working tree and reappears in the index area. After the file has appeared in the index, the two little spinners start spinning again for another second or two.
Once the spinners stop for the second time, then Sourcetree settles down and I can continue working. The overall process is at least 3 seconds.
Supported Platforms macOS Windows We recently introduced support for additional hosting services such as GitHub Enterprise, GitLab (Cloud, Community Edition, Enterprise Edition), and...
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG