Re: We should add a "git gc --auto" after "git clone" due to commit graph
- From
Stefan Beller <sbeller@google.com>
- Date
- Oct 3, 2018, 17:47 UTC
- Message-ID
- <CAGZ79kbYX79Pk=xR3hY6NHaRQd7KMWwvacNVyW8=QpLorzXihQ@mail.gmail.com>
- In-Reply-To
- <87o9cbglez.fsf@evledraar.gmail.com>
> So we wouldn't be spending 5 minutes repacking linux.git right after > cloning it, just ~10s generating the commit graph, and the same would > happen if you rm'd .git/objects/info/commit-graph and ran "git commit", > which would kick of "gc --auto" in the background and do the same thing.
Or generating local bitmaps or pack idx files as well?