I am finding that SourceTree on Windows 7 is incredibly slow to refresh after any action, whether that is staging a file, committing/pulling/pushing, refreshing after a tracked file has been updated, or pressing the commit button. Some details:
I would love to get to the bottom of this issue because SourceTree is by far the best Git client I have ever come across. Please let me know if you require any further information.
Here is the related question, but that problem looks to be caused by a large quantity of submodules: https://answers.atlassian.com/questions/252979/sourcetree-is-very-slow-on-windows-7
Sorry I wasn't clear - my colleagues don't use SourceTree, they just use Git from the command line and it is snappy.
I ran git count-objects and there were just under 2000 objects totally around 2MB. Foolishly I closed the window before I got the exact numbers but they were in that region. I've run git gc but haven't noticed any improvement.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
On your colleagues' computers this repo is fast in both Git and SourceTree?
Could you run 'git count-objects' and share the results? This will show the number of unpacked objects that would be cleaned with 'git gc'. gc will clean up the repository by running a number of tasks that could improve performance. You may want to try running 'git gc' to see if that helps.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I tried a few simple commands - add, and status - and they were slow but possibly not quite as slow as in the UI. Definitely a lot slower than I've seen on colleagues' identically speced computers with the same repo. I am using embedded Git - version 1.8.3.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
If you run some commands outside of SourceTree using Git, are they just as slow? That might narrow down the issue if it's something with Git and the Repository or just SourceTree. There is a Terminal button in the menu bar that will allow you to run some Git commands.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Atlassian monitors these forums to some degree, but you may get more direct attention on support.atlassian.com.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Unofrtunately it is just as slow - lots of spinning circles while SourceTree does anything. I added a line to a file and to stage and commit that file took at least a minute. Any other suggestions? Do Atlassian monitor these forums or is there some other way to report issues to them?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Slowness on Windows has been reported before, but I've never seen it myself (Windows 8.1). The only significant difference between my repo(s) and yours is the submodule (which you already disqualified) and the Git ignore. Is it possible that SourceTree is getting bogged down attempting to filter ignored files?
Stuart, make a temporary copy of your repo and delete the .gitignore file, then try some operations to see if that makes a difference.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.