Omer Zak wrote:
> THE QUESTION:
> According to the above git README, objects in git are named by their
> SHA1 hashes.  So, what happens if two objects have the same SHA1 hash,
> unlikely as it might be?

The world ends.

Well, not really, but you now have your history ruined since the new
file will be not be stored on disk but rather disappear into the ether
and for your next checkout you'll get the old file that was in that SHA1
hash.

I haven't checked for a long time now but I don't think there is any
safeguard for such a case.

Baruch

=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]

Reply via email to