From: Vitaly Date: Wed, 07 Apr 2010 05:55:19 GMT Subject: Re: git clone: very long "resolving deltas" phase Message-ID: <4BBC1E47.80308@gmail.com> In-Reply-To: I suspected the security reasons. Ok, we work in trusted environment. How can we turn this behavior off? On 04/07/2010 01:09 AM, Nicolas Pitre wrote: > On Tue, 6 Apr 2010, Vitaly Berov wrote: > > >> Why does git compute checksums on the client side? Isn't it already >> calculated on the "server" side? >> > Yes. But Git clients can't trust the server like that. > > The only way to make sure the server didn't send you crap data, or worse > maliciously altered data, is actually to not transfer any checksum data > but to recompute and validate the received payload locally. > > This being said, you should never have to wait 6 hours for that phase to > complete. It is typically a matter of minutes if not seconds. > > > Nicolas > >