Sourcetree git indexing every time

Seemingly, since I upgraded to 1.8.0.3 on OSX 10.9.1 using embedded git, every time I run sourcetree and view a local branch or working copy view, I see git running in the Activity Monitor. It takes 45 minutes to finish what it's doing and I can't figure out what's going on. If I view the file locks that git is using in Activity Monitor, it looks as if it is scanning my entire local repository. ST has become unusable at this point and hoping I can hear some pointers on what to look for. ST doesn't appear to log commands it's running.

3 answers

1 accepted

This turned out to be git, not ST. It was running git status everytime, running 100% CPU and taking forever to do anything in ST. What I ended up doing was building my own version of git, but 64-bit, then updating ST to use this 64-bit version instead of the embedded version or the one that comes with OSX. git status is now immediate on a repo with over 120,000 objects. ST back in business. Hope this helps someone.

Hey Michael,

In this instance it'd be better if you raised a ticket on jira.atlassian.comincluding as much detail as possible. This way us devs can help track down the issue by narrowing it down further. (We mostly use answers for general Q&A rather than troubleshooting issues). I'll get an e-mail when you open the ticket up so I can look at it straight away.

Thanks in advance!

After killing the git process, ST popped a note to say that git status failed with code 9. Looks like this is not related to ST but git and my repo.

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Jodi LeBlanc
Posted Thursday in Off-topic

Friday Fun: How do you recharge your batteries after a busy week?

Happy Friday – Fun Day! I don’t know about you, but I have been giving everything I’ve got this week (and most weeks) and come Friday I look for unique ways to recharge my batteries - rest, relax, a...

1,237 views 32 4
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you