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 vote

Hi

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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published May 30, 2018 in Sourcetree

Tip from the team: configuring Git or Mercurial in Sourcetree

Supported Platforms macOS Windows To make using Sourcetree as simple yet powerful as possible we embed (bundle) dependencies such as Git, Git LFS, and Mercurial. We strive to keep these...

568 views 1 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