diff options
author | Russell Belfer <rb@github.com> | 2013-04-30 00:52:12 +0400 |
---|---|---|
committer | Russell Belfer <rb@github.com> | 2013-04-30 00:52:12 +0400 |
commit | b7f167da29effa125663b143d3daf79a6ad88d2e (patch) | |
tree | 585355250e7078c7018a78c68539dc139912013b /src/index.c | |
parent | aa8f010120577e61715f3ae1286a03055815f9c3 (diff) |
Make git_oid_cmp public and add git_oid__cmp
Diffstat (limited to 'src/index.c')
-rw-r--r-- | src/index.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/index.c b/src/index.c index d8ca78e52..2e2d373b5 100644 --- a/src/index.c +++ b/src/index.c @@ -1411,7 +1411,7 @@ static int parse_index(git_index *index, const char *buffer, size_t buffer_size) /* 160-bit SHA-1 over the content of the index file before this checksum. */ git_oid_fromraw(&checksum_expected, (const unsigned char *)buffer); - if (git_oid_cmp(&checksum_calculated, &checksum_expected) != 0) + if (git_oid__cmp(&checksum_calculated, &checksum_expected) != 0) return index_error_invalid("calculated checksum does not match expected"); #undef seek_forward |