Re: git bug report: 'git add' hangs in a large repo which has sparse-checkout file with large number of patterns in it
- From
- Dian 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