Are spare checkouts supported ?

Hi,

First of all, congrats, that's a great product, really advanced and user friendly.

I was wondering if sourcetree supports spare checkouts as one of my repo has one but sourcetree doesn't seem to take it in account, everything is shown, I would expect it to show only what has been filtered by the spare config.

One more point, I'm on windows and in the panel "Working Copy Changes", if I do a CTRL+A to select all files, I can't unselect them after, even with the mouse, is there a special way to do that.

Thanks,

-Fred

1 answer

1 accepted

Glad you like SourceTree!

We don't support sparse-checkout at this time, although I'd expect git commands that are supposed to take it into account to obey any existing configuration. It's not something I've come across before - sparse checkouts were more useful in SVN when they actually saved you network bandwidth and a lot of disk space, but since Git has all the file changes in the repo anyway (and you don't have a choice about that), it didn't really seem that useful. You're the first person to ask about it, and I had to look it up to remind myself :)

There are a few foibles about the grid control that powers the file status panel right now, I've logged this. It's a very useful MS control but it does have a few little edge cases like this, I may end up switching it out for something else if I can't resolve it.

Hi Steve,

On big repo, like more than 2Gb, it saves memory for each git operation at least though not the bandwidth, it's true.

Long time I didn't do anything in MS but I thought they were implemented better than that :-)

Well, thanks,

-Fred

Any plans to add sparse checkout to sourcetree this year?

With the maturation of Git Large File Storage (which ST supports), this would be a good feature. I'm about 2 years off the last comment - is there any support at present?

Unless there's another solution to the following, I agree to this feature being valuable:

Specifically talking about Unity, most git repositories are based on the root of a Unity Projects. That means all the basic project folders would be duplicates when trying to pull such a project into an existing one. Since those projects mostly get unique from Assets/<SDKName> it would be great if one could keep one version of the project relevant folders and just pull in the structure from SDKName on.

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...

551 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