Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

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

 

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events