Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

The reflog shows changes to references. References are hashes. Git is CAS, and uses the CAS assumption: H(m1) = H(M2) <=> m1 = m2.


What do you mean by "CAS"?


I think it means Content Addressable Storage - https://en.wikipedia.org/wiki/Content-addressable_storage

In short, it's a method of storage where object's identity is derived from object's content (usually via hashing it). So the assumption is: same hash => same content => same object.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: