pack.c
19.5 KB
-
odb_pack: don't do ambiguity checks for fully qualified SHA1 hashes · b2a2702d
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).
Brodie Rao committed