diff options
author | Derrick Stolee <stolee@gmail.com> | 2024-09-23 19:31:22 +0000 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2024-09-23 13:19:01 -0700 |
commit | 537e516a39a760fddc4f3f5020c4118943f6c146 (patch) | |
tree | b1c81e108e7fdc8c2933c5baf46bbafa3d2b7b62 /builtin/commit.c | |
parent | 4f71522dfb7fc53eff569023303980c66114b1bc (diff) |
sparse-checkout: disable advice in 'disable'
When running 'git sparse-checkout disable' with the sparse index
enabled, Git is expected to expand the index into a full index. However,
it currently outputs the advice message saying that that is unexpected
and likely due to an issue with the working directory.
Disable this advice message when in this code path. Establish a pattern
for doing a similar removal in the future.
Signed-off-by: Derrick Stolee <stolee@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/commit.c')
0 files changed, 0 insertions, 0 deletions