It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

SourceTree automatically refreshes while staging

Dear all, I use SourceTree everyday, but recently it automatically refreshes the difference view window, while I am staging file. This is very annoying! I need frequently click the file again, again and again. Does anyone encounter this problem? Best, Li

6 answers

1 accepted

0 votes
Answer accepted

I tried a few days, and this problem just gone for now. It may be caused by confliction with other applications.

this problem is still appearing to me

Had the same problem, works now after disabling "Refresh automatically when files change" - version 3.2.1 on Mac.

same issue, osx catalina, this has been like this the past year on mac, weird thing is, on the ***ty windows 10 this doesnt happen

if i disable and renable the refresh it works and doesnt switch between file status and file history views.. i hope it stays this way.. and not retrigger soon by an app

thx

I've also had this issue on Windows 10 64Bit Version 1709, running sourcetree 2.4.8.0, happens with LibGit2 enabled or disabled, using system git 2.16.1 + git-lfs v2.3.4. The Push Changes checkbox on FileStatus gets enabled/disabled constantly (not checked and unchecked). And when this is happening I can't click the commit button unless I spam it sometimes I get lucky, closing and reopening sourcetree sometimes temporarily fixes the issue, I have auto-refresh off

I am also experiencing a constant refreshing issue and this has only started in the last couple of updates. Previously it was working seamlessly. 

It can now be almost impossible to commit changes as the file view is constantly refreshing, making it impossible to stage the files. Also the commit button gets disabled and re-enabled every time it refreshes so as someone mentioned above the only way to submit is constantly click it until you get lucky!

 

i have reverted to using the command line which is really frustrating, if it’s not fixed soon I will need to look for another GIT client. 

Like pix likes this

Auto-refreshing should only occur if some other application is changing files in your repository, because SourceTree refreshes in response to events from the operating system. Is there something this is frequently saving files in your repository, triggering the refresh?

You can disable auto-refreshing in SourceTree either for a single repository (Settings on the toolbar, Advanced, disable auto-refresh checkbox), or you can do it globally in Preferences (or Tools > Options on Windows), the same 'Auto-refresh when files change' option.

Hi Steve, I have tried the disabling of auto-refreshing, but the problem persist. Any idea?

Hi Steve, should I delete SourceTree completely, and install it again? If yes, how to delete it COMPLETELY? Thanks!

I don't know why this hasn't worked for you, I've tested disabling auto-refreshing here, both in the repository Settings > Advanced (which just affects one repository) and in Tools > Options (which is global), and it definitely prevents SourceTree from auto-refreshing at all. Refreshing only occurs when you press F5 or perform an action like committing or *after* performing a stage (not during).

Uninstalling and re-installing shouldn't make any difference at all, but please do make sure you're running the latest version (currently 1.0.3).

Sure but why would we want to disable the feature completely? It should just work as advertised.

Hi @Steve Streeting, I seems there's a regression on this issue, as I am experiencing the same issue, and no disabling is helping me here.

yeah, this makes source tree useless for diffs

Like Ethan Wieczorek likes this

I'm also having this same issue with SourceTree (2.1) on OS X 10.10.5 (14F1509). If I turn the "Refresh automatically when files change" option to off within preferences the bottom pane containing the lift of files with changes and the selected files contents continues to refresh when the files are changed by another program.

Same here, refreshing disabled in all settings, and it still refreshes over and over (running on a Mac)

it's now 2019 and this bug is STILL present.

Like # people like this

Had the same problem, works now for me after disabling "Refresh automatically when files change" and tried to change files in the repo. Version 3.2.1 on Mac (didn't see anything in the SourceTree update log about it).

Hi Steve, I have tried the disabling of auto-refreshing, but the problem persist. Any idea?

As of today I am still seeing this problem.  The only thing running is visual studio but I am not modifying the file.  The diff view isn't stable at all for me.  Disabling the refresh shouldn't be necessary.  It is useful when it works correctly but I can't imagine what is causing the files to change ever 2 or 3 minutes.  The sourcetree diff has become nearly useless with the refresh setting on, and even though I like beyond compare I don't want to have to do an external diff in all cases.  

I'm using version 1.6.11.0 for windows.  By the way, this problem does not happen with Beyond compare.  Beyond compare notifies me when it thinks that the file has changed.  Therefore I'm sure that the file not being changed.

See the image below.  When I clicked off that setting and ran a stop watch for more than 4 minutes I didn't see the problem.  I think that default remotes check resets the log history view every X number of minutes or whatever it is set to regardless of any need to refresh.  While staring at a diff, the diff view just clears out and the first file within the log history is reselected every so often which seems to correspond to that setting.  It doesn't correspond exactly when using a stop watch but it seems to happen within 30 seconds after the x minute mark according to my stop watch.  Why would checking default remotes need to reset the diff view?

 

image2014-12-8 11:39:2.png

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Sourcetree

Sourcetree for Windows - CVE-2019-11582 - Remote Code Execution vulnerability

A vulnerability has been published today in regards to Sourcetree for Windows.  The goal of this article is to give you a summary of information we have gathered from Atlassian Community as a st...

4,910 views 0 12
Read article

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you