Clone for large LFS project very slow on windows Edited

Cloning a large repository with ~4gb of LFS files is incredibly slow on windows (sourcetree 2.3.5). There are ~10k files, being pulled from a central repo on the network. 

If I perform `git lfs fetch` from the command line or do a clone in OSX sourcetree it gathers all LFS files in about 10-15 minutes. In comparison souretree on windows took 25 minutes to just get to 15% of files (an order of magnitude slower). Also looking at the output it seems like osx is doing a `git lfs fetch` in the background (can see a summary printed in the command line), whilst windows seems to be doing an operation on every single file. (every single file spawns and logs an entry in the progress window). My understanding is that sourcetree should skip filter smudge when it clones, but it seems this might not be the case on windows? 

From the progress window in sourcetree for windows:

git -c filter.lfs.smudge= -c filter.lfs.required=false -c diff.mnemonicprefix=false -c core.quotepath=false clone --branch master ...

Not quite sure how to interpret if this is correct

1 answer

0 votes


Thanks for the report, I don't have an answer but we can look into it.

Just to clarify, this is from an internal self hosted repository not from an online host like Bitbucket or GitHub?

Yeah, it is internal self hosted (gitlab) on a network LAN. Further fetch operations seem to happen a reasonable speed. It's just the clone that's borked

Thanks for the additional information>

Can you post the console window output?

I'm not completely clear how you feel it is different. Sourcetree just issues a single clone command, although the output does include a file by file output.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Oct 23, 2018 in Sourcetree

Tip from the team: configure your repos for hosting goodness!

Supported Platforms macOS Windows We recently introduced support for additional hosting services such as GitHub Enterprise, GitLab (Cloud, Community Edition, Enterprise Edition), and...

1,229 views 4 2
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