Git 用 SHA-1,而 SHA-1 又破的問題使得 Git 開始計畫其他 hash algorithm (「Google 與 CWI Amsterdam 合作,找到 SHA-1 第一個 collision」)。
在「"uchar [40]" to "struct object_id" conversion continues.」這邊可以看到一些動作,先把本來的 uchar[40]
換成一般性的 struct object_id
。
Hacker News 上的「The beginning of Git supporting other hash algorithms」也有一些討論可以看。