Lag and index.lock errors Edited

ian chen I'm New Here Oct 12, 2017

Since the recent updates, my sourcetree (Mac) has been getting painfully slow (e.g. esp when staging and unstaging files). And I've been getting frequent index.lock exists errors, almost everytime i perform an action. I have to try a few times for it to work or remove the lock file manually.

Is this a known issue or is there a fix to this?

2 answers

I had this issue for a little while now (1-2 updates back maybe) to the point Sourcetree is not usable anymore and I switched back to the CLI. It happens for different projects with different repositories; it complains about another git process on the same repo; while git in the terminal is perfectly happy adding, committing, pushing…

seems to be a known bug dating back from may 2016

try this:

 

  • Go into Preferences -> General and uncheck "Refresh automatically when files change'
  • When you actually want to refresh hit Command-R to trigger the refresh

 

from https://jira.atlassian.com/browse/SRCTREE-3486?jql=project%20%3D%20SRCTREE%20AND%20text%20~%20index.lock

you might want to cast your vote on this bug as well

Suggest an answer

Log in or Join to answer
Community showcase
Brian Ganninger
Published Jan 23, 2018 in Sourcetree

Tip from the team: workflow and keyboard shortcuts

Supported Platforms macOS Sourcetree has a lot to offer and, like many developer tools, finding and using it all can be a challenge, especially for a new user. Everyone might not love ...

241 views 0 3
Read article

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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot