Details
-
Suggestion
-
Resolution: Unresolved
-
None
-
None
Description
Our team is working on a Unity game project with over 130,000 large binary files stored via LFS (3D models, textures, animations, etc.) and we experience long hangs every time we startup SourceTree (around 15 minutes or more) with an unresponsive UI and no visible explanation. Other git tools such as Fork and Git Extensions don't suffer from this delay on startup.
Using Process Explorer I discovered that a call to git lfs ls-files -l was causing the delay as it is apparently iterating over every single LFS file in the repository every startup. Would it be possible to add an option to disable this process?
The exact command is:
git --no-pager -c color.branch=false -c color.diff=false -c color.status=false -c diff.mnemonicprefix=false -c core.quotepath=false --no-optional-locks lfs ls-files -l
SourceTree version is 3.4.12.
Git is set to system (Git for Windows 2.39.2 with Git LFS 3.3.0).