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

Re: git bug report: 'git add' hangs in a large repo which has sparse-checkout file with large number of patterns in it

From
DXDian Xu <dianxudev@gmail.com>
Date
Jul 5, 2022, 13:08 UTC
Message-ID
<CAKSRnEwda+WomBQbvjZ+hry+k2vGO4ukR42f66tHqxO7LdU_sA@mail.gmail.com>
In-Reply-To
<CAMwyc-Q7dEwo7AzFTYXrX-0i+b80ikzv_MCzTr7ZKaCPKwcERw@mail.gmail.com>
Hi Elijah,
Please see answers below:
1.  H: 2.27m; S: 7.7k; Total: 2.28m
2.  Sure I will run 'reapply' after the sparse-checkout file has
changed. Just curious, do I have to run 'reapply' if 'checkout' is the
next immediate cmd? I thought 'checkout' does the updating index as
well
3.  I simply added one file only, 'git add' and 'git add --sparse'
still hang. Let me know if you need me to send you any debug info from
pathspec.c/dir.c
4.  Good to know and we are investigating if we have a way out from --no-cone
5.  I should've been clearer: The experiment done here uses 2.37.0
Thanks,

Dian Xu Mathworks, Inc 1 Lakeside Campus Drive, Natick, MA 01760 508-647-3583

On Mon, Jul 4, 2022 at 3:12 PM Konstantin Ryabitsev <konstantin@linuxfoundation.org> wrote:

Show 14 quoted lines
>
> On Fri, 1 Jul 2022 at 17:53, Elijah Newren <newren@gmail.com> wrote:
> > > (Btw our company’s email mathworks.com is blocked by
> > > mailto:git@vger.kernel.org, hope someone can help take a look)
> >
> > Konstantin: Is this something you know how to look into?  (Or do you
> > know who to ask?)
>
> Unfortunately, I'm not in charge of vger -- it's historically managed
> by volunteers outside of LF.
> You should reach out to postmaster@vger.kernel.org.
>
> Best regards,
> -Konstantin
Previous: Konstantin RyabitsevNext: Elijah Newren
Message 9 of 12 in “git bug report: 'git add' hangs in a large repo which has sparse-checkout file with large number of patterns in it”
  1. Dian XuJun 29, 2022
  2. Victoria DyeJun 29, 2022
  3. Elijah NewrenJun 30, 2022
  4. Victoria DyeJun 30, 2022
  5. Elijah NewrenJul 1, 2022
  6. Dian XuJul 1, 2022
  7. Elijah NewrenJul 1, 2022
  8. Konstantin RyabitsevJul 4, 2022
  9. Dian XuJul 5, 2022
  10. Elijah NewrenJul 8, 2022
  11. Dian XuJul 12, 2022
  12. Elijah NewrenJun 30, 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.