Commit 8564a0224abe09beaacb2d2e7a54b16f8fcea7d1

Russell Belfer 2013-04-29T08:51:24

Fix fragile git_oid_ncmp git_oid_ncmp was making some assumptions about the length of the data - this shifts the check to the top of the loop so it will work more robustly, limits the max, and adds some tests to verify the functionality.