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

Re: Bug report - sparse-checkout ignores prefix when run in subdirectories

From
Junio C Hamano <gitster@pobox.com>
Date
Jan 6, 2022, 19:25 UTC
Message-ID
<xmqqy23sd5v6.fsf@gitster.g>
In-Reply-To
<CABPp-BF=-1aZd=nFHF6spo7Ksa7f7Wb7ervCt0QvtNitMY=ZBA@mail.gmail.com>
Elijah Newren <newren@gmail.com> writes:
Show 14 quoted lines
> On Wed, Jan 5, 2022 at 4:17 PM Junio C Hamano <gitster@pobox.com> wrote:
>>
>> Elijah Newren <newren@gmail.com> writes:
>>
>> > Are you possibly confusing pathspecs with gitignore patterns here?
>> > (Or am I?)  Or are you suggesting that sparse-checkout be modified to
>> > accept either gitignore-style files or pathspecs and handle both?
>>
>> Much closer to the latter (actually, removing ignore patterns, and
>> make the subsystem work with pathspecs).
>
> Oh, interesting.  That'd at least suggest you're also happy to get rid
> of the ignore patterns in this subsystem if we find a feasible
> transition plan to do so.  I'll keep that in mind.  :-)

It is more like "I've never used it and I'll probably never use it myself, so I have no data as to how badly we will be hurting existing users".

Previous: Elijah NewrenNext: Derrick Stolee
Message 8 of 10 in “Bug report - sparse-checkout ignores prefix when run in subdirectories”
  1. Lessley DenningtonJan 5, 2022
  2. Junio C HamanoJan 5, 2022
  3. Elijah NewrenJan 5, 2022
  4. Junio C HamanoJan 5, 2022
  5. Elijah NewrenJan 6, 2022
  6. Junio C HamanoJan 6, 2022
  7. Elijah NewrenJan 6, 2022
  8. Junio C HamanoJan 6, 2022
  9. Derrick StoleeJan 27, 2022
  10. Elijah NewrenJan 27, 2022

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.