It would defeat the purpose of a content-addressable storage system. The fact that the same file and the same tree will always have the same hash is important for speeding up diffs, merges, and other operations.
Re:Git 2.11 has been released
by Manishearth on Wednesday November 30, 2016 @11:25AM
(#13071996)
I think the answer is "it doesn't need to", because the probability of a collision is too low.
The issue is with collisions in the truncated hashes which are often used to refer to objects in emails and such. Not the full SHA.
I guess if you only work with rebases instead of merges, it should be possible, right?