Re: Cloning from sites with 404 overridden
- From
Linus Torvalds <torvalds@osdl.org>
- Date
- Mar 22, 2006, 04:13 UTC
- Message-ID
- <Pine.LNX.4.64.0603212011430.26286@g5.osdl.org>
- In-Reply-To
- <20060322031200.GB17954@spearce.org>
On Tue, 21 Mar 2006, Shawn Pearce wrote:
Show 5 quoted lines
> > '0' x 40. :-) There's some places already in the GIT source > which would have ``issues'' if they got an object with this hash. > Not sure if it is actually an entirely impossible hash or just one > that is highly improbable.
The all-zeroes hash is as improbable as any other one, and finding a "collision" (ie a "real object") with that hash is as improbable as any other collision, ie we can (and do) depend on it beign a unique identifier for "does not exist".
Linus