How is josh different from partial clone and sparse-checkout? #421
-
Hi, I just got to know the project. How is this different from, or working together with, partial clone and Thanks. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
Not really an issue. |
Beta Was this translation helpful? Give feedback.
-
Okay but could you maybe answer the question anyway? |
Beta Was this translation helpful? Give feedback.
-
Different from sparse-checkout: Partial clone: |
Beta Was this translation helpful? Give feedback.
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 his…