]> git.ipfire.org Git - thirdparty/git.git/commit
sparse-index: point users to new 'clean' action
authorDerrick Stolee <stolee@gmail.com>
Fri, 12 Sep 2025 10:30:10 +0000 (10:30 +0000)
committerJunio C Hamano <gitster@pobox.com>
Mon, 15 Sep 2025 19:10:57 +0000 (12:10 -0700)
commit66c11bd46a29f8f91297eaf6157be912bd0bf12a
treea167c53ab2e4ebd535be5258cf21d12cb25e1c9a
parent5b5a7f5ebd2e2701ac6fa522866f22b885147c01
sparse-index: point users to new 'clean' action

In my experience, the most-common reason that the sparse index must
expand to a full one is because there is some leftover file in a tracked
directory that is now outside of the sparse-checkout. The new 'git
sparse-checkout clean' command will find and delete these directories,
so point users to it when they hit the sparse index expansion advice.

Signed-off-by: Derrick Stolee <stolee@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
sparse-index.c