Re: [PATCH 0/4] Sparse-checkout: Add subcommand and Windows paths
- From
Jeff King <peff@peff.net>
- Date
- Feb 11, 2020, 19:48 UTC
- Message-ID
- <20200211194806.GB2127797@coredump.intra.peff.net>
- In-Reply-To
- <pull.546.git.1581433344.gitgitgadget@gmail.com>
On Tue, Feb 11, 2020 at 03:02:20PM +0000, Derrick Stolee via GitGitGadget wrote:
Show 8 quoted lines
> This is based on ds/sparse-checkout-harden. > > The sparse-checkout builtin currently lets users modify their > sparse-checkout file with the all-or-nothing "set" subcommand. It may be > easier for a user to expand their sparse cone using a "git sparse-checkout > add <pattern/path> ..." subcommand. To achieve this while reusing as much > code as possible from the "set" subcommand, the first two patches extract > methods from sparse_checkout_set().
FWIW, this makes perfect sense to me. I actually expected "set" to behave like "add" the first time I tried it out.
-Peff