Snippets
Created by
aokomoriuta
last modified
cf. "How would git handle a SHA-1 collision on a blob?" http://stackoverflow.com/questions/9392365/how-would-git-handle-a-sha-1-collision-on-a-blob/34599081?stw=2#34599081
you make↓ / with hash same as→ | blob | tree object | commit object |
---|---|---|---|
blob | lose last commit when clone/push/revert | corrupt repository when push/clone | corrupt repository when push/clone |
tree object | fail to create commit | reference the wrong tree when commit | fail to create commit |
commit object | fail to update "ref" | fail to update "ref" | commit never created when commit |
Comments (0)
You can clone a snippet to your computer for local editing. Learn more.