Re: git clone: very long "resolving deltas" phase
- From
Nicolas Pitre <nico@fluxnic.net>
- Date
- Apr 6, 2010, 21:09 UTC
- Message-ID
- <alpine.LFD.2.00.1004061705390.7232@xanadu.home>
- In-Reply-To
- <v2qecffb261004060856qcb769a06vf40ad2a75a3aa4fd@mail.gmail.com>
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