summaryrefslogtreecommitdiff
path: root/tests-clar/diff/diff_helpers.c
diff options
context:
space:
mode:
authorRussell Belfer <rb@github.com>2013-04-29 08:51:24 -0700
committerRussell Belfer <rb@github.com>2013-04-29 08:51:24 -0700
commit8564a0224abe09beaacb2d2e7a54b16f8fcea7d1 (patch)
tree77b4e91881dc52461aac489eeefc3c4ef701dda6 /tests-clar/diff/diff_helpers.c
parent0c72248b9171acee7480a77edee89fa20fabdae8 (diff)
downloadlibgit2-8564a0224abe09beaacb2d2e7a54b16f8fcea7d1.tar.gz
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.
Diffstat (limited to 'tests-clar/diff/diff_helpers.c')
0 files changed, 0 insertions, 0 deletions