Sourcetree 4.2.10 on macOS is slow at opening some repositories

Martin Wickett
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
November 22, 2024

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:

find "$1" -type d -maxdepth 0 | while read -r dir; do

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).

Screenshot 2024-11-22 at 19.38.01.png

Screenshot 2024-11-22 at 19.39.49.png

 

2 answers

2 votes
Jonathan
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
December 2, 2024

Same for me as well. I downgraded to 4.2.9 from https://www.sourcetreeapp.com/download-archives and that fixed the issue.

William Lee
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
December 16, 2024

This was a lifesaver. I tried pruning branches (which didn't help), but this was the ticket!

0 votes
Mark Leusink
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
November 28, 2024

Same here. Downgrading to 4.2.9 solved it for me as well. Thanks for the tip!

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events