Uploaded image for project: 'Sourcetree for Windows'
  1. Sourcetree for Windows
  2. SRCTREEWIN-13998

Add an option to disable `git lfs ls-files` on startup

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Unresolved
    • None
    • Git
    • None
    • Our product teams collect and evaluate feedback from a number of different sources. To learn more about how we use customer feedback in the planning process, check out our new feature policy.

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

      Attachments

        Activity

          People

            Unassigned Unassigned
            9b3ad08bb00a FU_Jonathan
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: