Re: [git-users] hash collision in git

2018-06-28 Thread 1141185821
Thanks for reply. I know it is not a common scenario in real world, but when we put our valued code and docs in git, we hope git will be robust enough to take good care of our docs, and wont fall because of some unconscious behavior. 在 2018年6月27日星期三 UTC+8下午4:00:21,Konstantin Khomoutov写道:

[git-users] hash collision in git

2018-06-27 Thread 1141185821
I have done a test in version 2.18 to test how git handle hash collision: 1、I commit pdf file 'shattered-1.pdf' into my local repo. the generated hash for the file is '9aaa145ccd24ef760cf31c74d8f7ca1a2e47b0' in dir 'ba' 2、I change the content of '9aaa145ccd24ef760cf31c74d8f7ca1a2e47b0' to