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

Git is designed around content-addressed storage and while you can cater for hash migrations, it gets pretty messy design-wise. Gits core data structures were also designed really quickly to patch a very urgent need of the kernel hackers. I doubt it has anything to do with being in love passing 20 byte strings on the stack. The fine git folks have produced a rather detailed document about the hash migration (https://git-scm.com/docs/hash-function-transition/) and it is not particularly simple to do this.


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

Search: