It seems like SourceTree is constantly deleting certain avatar images. My thrash is showing that it contains items, I clear it, then after a while certain items are in the trash again. It seems to have something to do with gravatar images.
Hello everyone! This will be fixed in the next release, which should be in beta very soon. This was caused by a small change that moved deleted files in the working copy to the recycling bin, but ended up applying to all removed files.
Hi there,
Thanks for reaching out!
Why do you suspect that it is Sourcetree deleting these images? Are these images part of one of your repositories? Can you give us some more context so we can understand where the issue is coming from?
Let us know,
Ana
Here's a screenshot of the Recycle bin. As you can see the file was deleted from the SourceTrees cache folder, this is why I suspect Sourcetree is responsible for deleting them. Maybe you should just do a delete without adding the file to the recycle bin?
I just checked the recycle bin again and there are some additional files, not only avatars. It seems like some json files are also being deleteded.
The json files are user analytics data. Sourcetree records clicks etc then packages them into temporary json files before bulk submitting. After that it deletes the temp file.Sourcetree pulls gravatar icons to display against accounts.I'm guessing here but I suspect it just periodically deletes the existing one and gets it again to ensure it has the latest version. Alternatively it might be just part of the download process before the final file is written to its final location.Finally there was a recent change in Sourcetree to support delete to recycle bin. I may well be that previously these files were explicitly deleted but now the delete to recycle bin option is on they go to the bin.
Same here and it's quite annoying. I want to see my Recycle Bin clean.
Turned off loading gravatar images entirely. Harsh, but solves the problem.
Under Options > General > Commit Settings > Load avatar images from gravatar.com
Thanks for this suggestion. I'll be trying out this workaround as well until a fix is implemented.
Thank you!
I thought I had a virus. Source Tree keeps generating gravatar files in the recycle bin
Why does a git client ever need to move file to recycle bin instead of perm delete?
Does that mean every time I switch a branch, tons of files end up in recycle bin?
If that were the design choice SourceTree is going with, please give an option to "always permanently delete file, and never move file to recycle bin"
No, Git actions and the files they effect are handled by git.exe, or libgit2, and its configuration.This issue only effects file management from Sourcetree, e.g. gravatars something git.exe has no concept of.
Same here, still no fix for this issue
Apologies for the delay on the next update with this fix. I’m expecting QA testing to be complete this week and the rollout to begin hopefully next week.
Things have been a bit hectic around here. We’ve got some exciting things to share soon.
@Mike Corsaro any updates reagrding the release? I am still finding random files in my recycle bin.
Sourcetree 3.3.6 is being progressively rolled-out now, but you may manually download it here.
It looks like you're new here. Sign in or register to get started.