Skip to content

Commit afc50f3

Browse files
committed
Merge branch 'ds/sparse-checkout-clean' into next
"git sparse-checkout" subcommand learned a new "clean" action to prune otherwise unused working-tree files that are outside the areas of interest. * ds/sparse-checkout-clean: sparse-index: improve advice message instructions
2 parents 3bde896 + c32aa72 commit afc50f3

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

sparse-index.c

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,9 @@ int give_advice_on_expansion = 1;
3232
"Your working directory likely has contents that are outside of\n" \
3333
"your sparse-checkout patterns. Use 'git sparse-checkout list' to\n" \
3434
"see your sparse-checkout definition and compare it to your working\n" \
35-
"directory contents. Running 'git sparse-checkout clean' may assist\n" \
36-
"in this cleanup."
35+
"directory contents. Cleaning up any merge conflicts or staged\n" \
36+
"changes before running 'git sparse-checkout clean' or 'git\n" \
37+
"sparse-checkout reapply' may assist in this cleanup."
3738

3839
struct modify_index_context {
3940
struct index_state *write;

0 commit comments

Comments
 (0)