diff options
author | Elijah Newren <newren@gmail.com> | 2020-06-18 20:49:57 +0000 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2020-06-18 14:12:28 -0700 |
commit | 051df3cfe8ed7d113197636f860edea14f283037 (patch) | |
tree | 09a2af475e33e75965cd601f9bec3fedb1c8371e /t | |
parent | The third batch (diff) | |
download | tgif-051df3cfe8ed7d113197636f860edea14f283037.tar.xz |
wt-status: show sparse checkout status as well
Some of the early feedback of folks trying out sparse-checkouts at
$dayjob is that sparse checkouts can sometimes be disorienting; users
can forget that they had a sparse-checkout and then wonder where files
went. Add some output to 'git status' in the form of a simple line that
states:
You are in a sparse checkout with 35% of files present.
where, obviously, the exact figure changes depending on what percentage
of files from the index do not have the SKIP_WORKTREE bit set.
Signed-off-by: Elijah Newren <newren@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't')
0 files changed, 0 insertions, 0 deletions