News for hackers. Stuff that matters.
Re:Linus' reply on Git and SHA-1 collision by victorNicollet on Friday February 24, 2017 @06:37AM (#13722741)
This is exactly what euyyn is saying: create two files with the same SHA1 (by adding bytes of gibberish to an unused section), commit one to the repository, and now you have an collision available.
Re:Linus' reply on Git and SHA-1 collision by mi100hael on Friday February 24, 2017 @11:01AM (#13724797)
That's not how git uses hashes. In that scenario, there would still be a diff and hence git would recognize the files were different.