From: Ilari Liusvaara Date: Thu, 15 Apr 2010 11:43:19 GMT Subject: Re: git fetch over http:// left my repo broken Message-ID: <20100415114319.GA28326@LK-Perkele-V2.elisa-laajakaista.fi> In-Reply-To: <4BC6E343.2030105@drmicha.warpmail.net> On Thu, Apr 15, 2010 at 11:58:27AM +0200, Michael J Gruber wrote: > Christian Halstrick venit, vidit, dixit 15.04.2010 11:51: > > But still, Git should be able to deal with broken servers. The problem > is: If the server does not report any problem but simply serves a broken > pack (with correct header), how should Git notice? It would require a > fsck before accepting any new pack. Pack trailer hash. Apparently dumb HTTP fetch needs to bypass pack to index conversion somehow since index-pack aborts if trailer hash check fails (not to mention other failures corrupt pack may cause). -Ilari