Initial sparse implementation#54
Initial sparse implementation#54derrickstolee merged 6 commits intomicrosoft:masterfrom derrickstolee:sparse
Conversation
|
Labeling this pull request as stale. There has been no activity for 30 days. Remove stale label or comment or this PR will be closed in 7 days. |
@jrbriggs is this a bug in the YAML, or a bug in Actions after enabling the task? |
|
Labeling this pull request as stale. There has been no activity for 30 days. Remove stale label or comment or this PR will be closed in 7 days. |
|
| @jrbriggs is this a bug in the YAML, or a bug in Actions after enabling the task? @derrickstolee Happened again today. About 30 hours (hmmm.....) after you cleaned it up last. It was actually a bug in the action implementation. Fix in actions/stale#8 |
|
Labeling this pull request as stale. There has been no activity for 30 days. Remove stale label or comment or this PR will be closed in 7 days. |
|
After rebasing onto a recent |
Long term, we will not have a mount, so this feature will eventually be meaningless. In the meantime, it is only causing possible problems with hydrating files. Resolves #26 permanently. In a normal clone, we already resolved it in #56 by prefetching all files on clone. However, we still dynamically prefetch on a sparse clone (#54).
Signed-off-by: Derrick Stolee <dstolee@microsoft.com>
Signed-off-by: Derrick Stolee <dstolee@microsoft.com>
Signed-off-by: Derrick Stolee <dstolee@microsoft.com>
Signed-off-by: Derrick Stolee <dstolee@microsoft.com>
Scalar.FunctionalTests/Tests/EnlistmentPerFixture/PrefetchVerbTests.cs
Outdated
Show resolved
Hide resolved
Signed-off-by: Derrick Stolee <dstolee@microsoft.com>
Signed-off-by: Derrick Stolee <dstolee@microsoft.com>
Uses the code currently at microsoft/git#180. Covers the basics of #8.
The default
scalar clonerunsgit sparse-checkout initso the working directory only has files at root.Run
git sparse-checkout add <folders.txtto pipe in a list of folders, and it will expand those files.Example workflow:
I spun up a few remaining issues for follow-up work: #76, #77, #78.