Commit ced002e
committed
Add 'git sparse-checkout clean' (#779)
This is a fast-track of gitgitgadget#1941, so please see that PR for the
full context and details.
This is being prioritized as it solves a pain point for Office monorepo
developers who get stuck with files outside of their sparse-checkout but
no clear guidance as to how to solve the problem. With this change,
users are advised to run `git sparse-checkout clean` as a heavy hammer
to get into a better state. This will make their sparse index work as
intended instead of slowing them down more than they should.
The upstream version got stuck on some minor details that may lead to an
adjusted CLI. However, it got blocked on a dependent change due to
globals refactoring. This is marked experimental for now.File tree
7 files changed
+374
-58
lines changed- Documentation
- builtin
- t
7 files changed
+374
-58
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
| 12 | + | |
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| |||
111 | 111 | | |
112 | 112 | | |
113 | 113 | | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
114 | 137 | | |
115 | 138 | | |
116 | 139 | | |
| |||
0 commit comments