git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH 0/4] Sparse-checkout: Add subcommand and Windows paths

From
Junio C Hamano <gitster@pobox.com>
Date
Feb 11, 2020, 17:06 UTC
Message-ID
<xmqqimkdvysg.fsf@gitster-ct.c.googlers.com>
In-Reply-To
<pull.546.git.1581433344.gitgitgadget@gmail.com>
"Derrick Stolee via GitGitGadget" <gitgitgadget@gmail.com> writes:
Show 6 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.
Makes sense.  

I suspect that people may get greedy and start saying "now we can add a new directory (say, Documentation/) without repeating what we already configured, I want a way to add a new directory without some of the paths in that directory (say, Documentation/ but not Documentation/technical/)", but that won't happen until people can use "add", so let's take small incremental steps, and addition of "add" is such a good first step.

Will queue.  Thanks.
Previous: Derrick Stolee via GitGitGadgetNext: Jeff King
Message 8 of 9 in “Sparse-checkout: Add subcommand and Windows paths”
  1. 0/4 Sparse-checkout: Add subcommand and Windows pathsDerrick Stolee via GitGitGadget, Feb 11, 2020
  2. 2/4 sparse-checkout: extract pattern update from 'set' subcommandDerrick Stolee via GitGitGadget, Feb 11, 2020
  3. 3/4 sparse-checkout: create 'add' subcommandDerrick Stolee via GitGitGadget, Feb 11, 2020
  4. Junio C HamanoFeb 11, 2020
  5. 1/4 sparse-checkout: extract add_patterns_from_input()Derrick Stolee via GitGitGadget, Feb 11, 2020
  6. Junio C HamanoFeb 11, 2020
  7. 4/4 sparse-checkout: work with Windows pathsDerrick Stolee via GitGitGadget, Feb 11, 2020
  8. Junio C HamanoFeb 11, 2020
  9. Jeff KingFeb 11, 2020

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.