Commit dae5437
wt-status: add VFS hydration percentage to normal
Add VFS checkout hydration percentage information to the default `git
status` output. When VFS is enable, users will now see a "You are in
a partially-hydrated checkout with <percentage> of tracked files
present." message.
Upstream `git status` normally prints a "You are in a sparse checkout
with <percentage> of tracked files present." This message was hidden
in `microsoft/git` when `core_virtualfilesystem` is set (because GVFS
users are always (and secretly) in a sparse checkout) and it was
thought that it would annoy users.
However, we now believe that it may be helpful for users to always see
the percentage and know when they are over-hyrdated, since
over-hyrdation can occur by accident and may greatly impact their Git
performance. Knowing this value may help with GVFS support.
Helped-by: Johannes Schindelin <[email protected]>
Signed-off-by: Jeff Hostetler <[email protected]>git status output1 parent 5069c60 commit dae5437
2 files changed
+11
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
69 | 69 | | |
70 | 70 | | |
71 | 71 | | |
| 72 | + | |
| 73 | + | |
72 | 74 | | |
73 | 75 | | |
74 | 76 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1622 | 1622 | | |
1623 | 1623 | | |
1624 | 1624 | | |
1625 | | - | |
1626 | | - | |
1627 | | - | |
1628 | | - | |
| 1625 | + | |
| 1626 | + | |
| 1627 | + | |
| 1628 | + | |
| 1629 | + | |
| 1630 | + | |
| 1631 | + | |
| 1632 | + | |
| 1633 | + | |
1629 | 1634 | | |
1630 | 1635 | | |
1631 | 1636 | | |
| |||
0 commit comments