Re: [BUG] "git describe --match" performance

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Oct 31, 2024 at 08:10:00AM -0700, Josh Poimboeuf wrote:

> > I think we'll build the commit graph file by default these days when you
> > run "git gc". But we don't build it immediately after cloning. Perhaps
> > we should change that.
> 
> Hm... I actually ran "git gc" and it didn't seem to help at all.

What version of Git are you running? I think gc enabled it by default in
31b1de6a09 (commit-graph: turn on commit-graph by default, 2019-08-13),
which is v2.24.0.

You could also try "git commit-graph write --reachable" and see if that
improves things. If it doesn't, then maybe you have the reading side
turned off explicitly for some reason? Try "git config core.commitgraph"
to see if you have that set to "false".

-Peff




[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux