diff options
author | Patrick Steinhardt <ps@pks.im> | 2017-01-25 15:31:12 +0100 |
---|---|---|
committer | Patrick Steinhardt <ps@pks.im> | 2017-02-17 11:41:06 +0100 |
commit | f31cb45ad2ca46cc743dfadf5ac8b916cbe4ea9c (patch) | |
tree | ed98640b9181f3cfae95e63711ca7200c7e7be3d /src/odb_mempack.c | |
parent | a8cd560b10149208aabcfe515b2e1b6c5be6388f (diff) | |
download | libgit2-f31cb45ad2ca46cc743dfadf5ac8b916cbe4ea9c.tar.gz |
khash: avoid using `kh_put` directly
Diffstat (limited to 'src/odb_mempack.c')
-rw-r--r-- | src/odb_mempack.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/odb_mempack.c b/src/odb_mempack.c index 3165710b5..da3d85f78 100644 --- a/src/odb_mempack.c +++ b/src/odb_mempack.c @@ -41,7 +41,7 @@ static int impl__write(git_odb_backend *_backend, const git_oid *oid, const void size_t alloc_len; int rval; - pos = kh_put(oid, db->objects, oid, &rval); + pos = git_oidmap_put(db->objects, oid, &rval); if (rval < 0) return -1; |