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

You of all people should know that GIT history consists of a write-only log which is maintained using cryptographic hashes. If you edit one commit (even the metadata) you have to rewrite history, and all the hashes for commits after it change.

People will notice, and most importantly, everyone will still have the old commit chain locally.

This means that even the server cannot arbitrarily edit history. With SVN, afaik this is possible by manipulating the database.



"Me of all people"? People sure are zealous about their version control systems. For the record, I use git. But I don't really give a shit about it. For most of my career, I used CVS.

Git is neat, and I like it, but I'm not planning on studying its internals any time soon.


Right. But it is useful to know, not so much because of the VCS aspect, but because of the security aspect. Hg/Mercurial BTW works in the same way.




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

Search: