summaryrefslogtreecommitdiff
path: root/tests/diff/binary.c
diff options
context:
space:
mode:
authorVicent Marti <tanoku@gmail.com>2015-06-26 16:45:42 +0200
committerVicent Marti <tanoku@gmail.com>2015-06-26 16:45:42 +0200
commit3d9ef2dc1befc9c63654633d3c714e11df85ddbc (patch)
tree3d954cb9fbaf0bd8be08557aabd2dddd78982d56 /tests/diff/binary.c
parent14888070b941824b7f6369c60d7600594d215577 (diff)
downloadlibgit2-3d9ef2dc1befc9c63654633d3c714e11df85ddbc.tar.gz
Revert "object: correct the expected ID size in prefix lookup"
This reverts commit 969d4b703c910a8fd045baafbcd243b4c9825316. This was a fluke from Coverity. The length to all the APIs in the library is supposed to be passed in as nibbles, not bytes. Passing it as bytes would prevent us from parsing uneven-sized SHA1 strings. Also, the rest of the library was still using nibbles (including revparse and the odb_prefix APIs), so this change was seriously breaking things in unexpected ways. ^^
Diffstat (limited to 'tests/diff/binary.c')
0 files changed, 0 insertions, 0 deletions