Re: git-fetching from a big repository is slow
- From
Johannes Schindelin <johannes.schindelin@gmx.de>
- Date
- Dec 14, 2006, 16:34 UTC
- Message-ID
- <Pine.LNX.4.63.0612141732410.3635@wbgn013.biozentrum.uni-wuerzburg.de>
- In-Reply-To
- <200612141620.17782.andyparkins@gmail.com>
Hi,
On Thu, 14 Dec 2006, Andy Parkins wrote:
Show 6 quoted lines
> On Thursday 2006 December 14 15:45, Han-Wen Nienhuys wrote: > > > I just noticed that git-fetch now runs git-show-ref --verify on every > > tag it encounters. This seems to slow down fetch over here. > > There aren't any tags in this repository :-)
git-show-ref traverses every single _local_ tag when called. This is to overcome the problem that tags can be packed now, so a simple file existence check is not sufficient.
It would be much faster, probably, if you pack the local refs. IIRC I once argued for automatically packing refs (and all refs), but this has not been picked up, and I do not really care about it either.
Ciao, Dscho