Re: git clone: very long "resolving deltas" phase

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I suspected the security reasons.

Ok, we work in trusted environment. How can we turn this behavior off?

Vitaly

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


--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]