sparse-checkout: provide a new reapply subcommand
commit5644ca28cded68972c74614fc06d6e0e1db1a7de
authorElijah Newren <newren@gmail.com>
Fri, 27 Mar 2020 00:49:01 +0000 (27 00:49 +0000)
committerJunio C Hamano <gitster@pobox.com>
Fri, 27 Mar 2020 18:33:31 +0000 (27 11:33 -0700)
treeb5de62db20fcd2de23d1d38e853b60486a1abf80
parent681c637b4ae1c46c09edda62a1aed6eaa69a2649
sparse-checkout: provide a new reapply subcommand

If commands like merge or rebase materialize files as part of their work,
or a previous sparse-checkout command failed to update individual files
due to dirty changes, users may want a command to simply 'reapply' the
sparsity rules.  Provide one.

Reviewed-by: Derrick Stolee <dstolee@microsoft.com>
Signed-off-by: Elijah Newren <newren@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/git-sparse-checkout.txt
builtin/sparse-checkout.c
t/t1091-sparse-checkout-builtin.sh