Re: Git commit hash clash prevention

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Johannes Schindelin
Date: Thursday, October 2, 2008 - 3:07 am

Hi,

On Thu, 2 Oct 2008, martin f krafft wrote:


It _is_ academic.  Did you already discuss the chance that your wife gives 
birth to a mouse?  I haven't done the maths yet, but I am pretty certain 
that this would be more likely than an unintended SHA-1 collision.


Basically, the commit that David has will not be overwritten.  So every 
commit referring to Jane's commit would point to David's in his 
repository.

But the more likely case (well, as likely goes) would be that either 
Jane's or David's object is actually a blob.  And Git would complain about 
a type mismatch then.

Ciao,
Dscho
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Git commit hash clash prevention, martin f krafft, (Thu Oct 2, 1:53 am)
Re: Git commit hash clash prevention, Thomas Rast, (Thu Oct 2, 2:18 am)
Re: Git commit hash clash prevention, Johannes Schindelin, (Thu Oct 2, 3:07 am)
Re: Git commit hash clash prevention, Jean-Luc Herren, (Thu Oct 2, 4:08 am)
Re: Git commit hash clash prevention, Jakub Narebski, (Thu Oct 2, 7:00 am)
Re: Git commit hash clash prevention, Johannes Schindelin, (Thu Oct 2, 8:39 am)
Re: Git commit hash clash prevention, Stephan Beyer, (Thu Oct 2, 9:04 am)