libgit2/libgit2 — pull request #455 by brodie (2011-10-13 00:47:47+00:00)
Title: odb_pack: don't do ambiguity checks for fully qualified SHA1 hashes

This makes libgit2 more closely match Git, which only checks for ambiguous pack entries when given short hashes.

Note that the only time this is ever relevant is when a pack has the same object more than once (it's happened in the wild, I promise).

(I've made this fix against master so it can be rolled into a 0.15.1 stable release.)