new git update fails with fatal: fetch-pack: invalid index-pack output

Brian Inglis Brian.Inglis@SystematicSW.ab.ca
Tue May 28 14:44:49 GMT 2024


On 2024-05-27 16:10, Dan Shelton via Cygwin wrote:
> I can replicate the 'fatal: fetch-pack: invalid index-pack output'
> error with https://github.com/gcc-mirror/gcc.git, but only every 11-20
> attempts.
> 
> I think this is a race condition somewhere, maybe in the threading code?

SO suggestions are other git versions in the path, bad downstream proxy cache, 
slow or invasive network security appliance, which may be bypassed with ssh or 
VPN URIs, low resource limits in containers, which can be relieved by bumping 
resources or reducing sizes:

	git config pack.windowMemory 10m
	git config pack.packSizeLimit 20m

or huge repos which can be alleviated by a shallow clone --depth=1.

-- 
Take care. Thanks, Brian Inglis              Calgary, Alberta, Canada

La perfection est atteinte                   Perfection is achieved
non pas lorsqu'il n'y a plus rien à ajouter  not when there is no more to add
mais lorsqu'il n'y a plus rien à retirer     but when there is no more to cut
                                 -- Antoine de Saint-Exupéry


More information about the Cygwin mailing list