sourcetree asks to download binary content for git lfs on every startup
Asked by James Street:

I was wondering what I can do to fix this. I have tried using both the system and the embedded git and running git lfs install and git lfs pull in the repo.  

however, everytime I start sourcetree on this computer I am prompted with "it appears the binary file content has not been downloaded. Do you want to download the LFS files required by your current checkout?"

git status from the bash shows nothing. I have freshly installed sourcetree and git for windows


Answers:
author: Tristan559
body: After updating to version 3.4.2 I am getting the same problem.

![1b6Nnfgd8S.png](https://community.atlassian.com/t5/image/serverpage/image-id/126937iD088FCF3AE17142C/image-dimensions/463x193?v=v2 "1b6Nnfgd8S.png")

When I click "Yes" it pulls nothing down and then says complete.

![ETzZWOHpCW.png](https://community.atlassian.com/t5/image/serverpage/image-id/126939iD57CD8D0F6DC1E8C/image-dimensions/578x186?v=v2 "ETzZWOHpCW.png")


author: Tristan559
body: ![Agz0NrjK9e.png](https://community.atlassian.com/t5/image/serverpage/image-id/213128i18F62BD3A65CE0E5/image-size/large?v=v2&px=999 "Agz0NrjK9e.png")This is now an easy fix. Go to Tools -\> Options-\> Git and under Git-LFS, check the box for "Suppress Git LFS pull".


author: Skibisky
body: This occurs because the implementation of how LFS content is checked that it is pulled, is flawed.

Details at <https://jira.atlassian.com/browse/SRCTREEWIN-13513>


author: olmorauba
body: I created a bug report here:  
<https://jira.atlassian.com/browse/SRCTREEWIN-13431>


author: WaterMan
body: Face the same problem when I open Sourcetree.

My Sourcetree version is 3.4.9.

![sourcetree_issue.png](https://community.atlassian.com/t5/image/serverpage/image-id/213082iFC4C32E4207EB23A/image-size/large?v=v2&px=999 "sourcetree_issue.png")

Any help?


author: MajorGlory
body: Same problem - quite annoying. I end up using command line more now because opening up a view to a repo does this everytime.


author: michpangel
body: Recently just reinstalled windows on a new drive on my machine and thought I had config issues or something with the new setup, but turns out this is a new problem.  

In other words, I can also confirm I get this pop-up every time I open Sourcetree now.


author: Klaus Jensen Jaatog
body: Same. Just installed 3.4.2.


author: devandart
body: Yo, same problem here.


author: Hi_ImTemmy
body: I've also hit this after updating to 3.4.2 and updating the embedded Git on Sourcetree's recommendation.


author: y2meunier
body: Same issue ,

Fixed it by Uninstalling everything related by SOURCETREE including APPDATA.

Installed a OLD VERSION of SOURCETREE from archives

REBOOT WINDOWS (windows environment variable update only if you reboot)

Added the REPRO

Fetch pull ,

Fixed


author: olmorauba
body: Having the same issue, seemed to be introduced in the latest SourceTree update.


author: Fabien Cheftel
body: Same here, I also tried adding git to my env path like they advised here [Sourcetree asks to download LFS adapter every star... (atlassian.com)](https://community.atlassian.com/t5/Sourcetree-questions/Sourcetree-asks-to-download-LFS-adapter-every-startup/qaq-p/674743) didn't work.  

I'm really curious how to fix this.


Tags: git-lfs