After updating to Sourcetree 4.2.10 (269) for macOS opening some repositories is quite slow. Reverting back to 4.2.9 makes them open quickly again.
Looking a the debug task monitor the problem seems to be related to the 'list repo config files' step that runs a script called 'list-repo-config-files.sh' (this appears to be new in version 4.2.10).
If the repository has lots of directories then this script is quite slow.
I believe it might be missing a '-maxdepth 0' in the find command like this:
which would make it only search for a ./git/config or /config file at the root of the passed in directory (rather than recursively in in all directories).
Community moderators have prevented the ability to post new answers.
Same for me as well. I downgraded to 4.2.9 from https://www.sourcetreeapp.com/download-archives and that fixed the issue.
This was a lifesaver. I tried pruning branches (which didn't help), but this was the ticket!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Had the same issue. Downgrading to 4.2.9 solved the problem.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Same here. Downgrading to 4.2.9 solved the problem. Thanks a lot for helping!
FYI, downgrade to 4.2.9 may cause the issue that Xcode broken which 4.2.10 fixed.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I'm glad that I found that - will downgrade instead of kicking the App out today. Thanks.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Running into this as well, I've opened a bug report with them: https://jira.atlassian.com/browse/SRCTREE-8195, hopefully the problem will get picked up faster that way.
Thanks for the analysis @Martin Wickett !
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Same here. Downgrading to 4.2.9 solved it for me as well. Thanks for the tip!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Community moderators have prevented the ability to post new answers.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.