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

Why are so many git processes being launched in the background?

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Low
    • None
    • 1.6
    • None
    • None
    • Severity 3 - Minor

    Description

      After commenting on this on ticket SRCTREEWIN-2038, I checked what is going on and it doesn't feel right.

      I have disabled "refresh automatically when files change" and I see git being started 3-4 times within a second. These are the commands being executed all the time, for the different repositories:

      status --porcelain --untracked-files=all --ignore-submodules=dirty
      show-ref --head --dereference
      remote -v
      branch -r
      stash list
      rev-parse HEAD^1
      branch
      branch -vv
      rev-parse HEAD

      Some commands are execute for the same repository several times in a row, within the same second. Is this really necessary? Shouldn't this be checked only when refreshing?

      I gahered the information using ProcessMonitor from Sysinternals, setting a filter for showing only "start process" events and with parent id = sourcetree's.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              970283122287 Vlad Dumitrescu
              Votes:
              7 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated: