Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How is josh different from partial clone and sparse-checkout? #23

Closed
jjangga0214 opened this issue Mar 4, 2020 · 3 comments
Closed

Comments

@jjangga0214
Copy link

jjangga0214 commented Mar 4, 2020

Hi, I just got to know the project.

How is this different from, or working together with, partial clone and sparse-checkout(See git sparse-checkout --help)?

Thanks.

@christian-schilling
Copy link
Member

Not really an issue.

@robotrapta
Copy link

Okay but could you maybe answer the question anyway?

@christian-schilling
Copy link
Member

Different from sparse-checkout:
Josh operates on the git object graph and is unrelated to checking out files and the working tree on the filesystem, which is the only thing sparse-checkout is concerned with. A sparse checkout does not influence the contents of the object database and also not what gets downloaded over the network.
Both can certainly be used together if needed.

Partial clone:
A partial clone will cause git to download only parts of an object database according to some predicate. It is still the same object database with the history having the same commits and sha1s. It still allows loading skipped parts of the object database at a later point.
Josh creates an alternate history that has no reference to the skipped parts. It is as such very similar to git filter-branch just faster, with added features and a different user interface.

@josh-project josh-project locked and limited conversation to collaborators Jul 16, 2021

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants