diff options
Diffstat (limited to 'src/revobject.c')
-rw-r--r-- | src/revobject.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/revobject.c b/src/revobject.c index 7c2513775..2ed634540 100644 --- a/src/revobject.c +++ b/src/revobject.c @@ -33,7 +33,7 @@ unsigned int git_revpool_table__hash(const git_oid *id) const unsigned int m = 0x5bd1e995; const int r = 24; - unsigned int h = 0xA8A3D5 ^ (unsigned int)id; + unsigned int h = 0xA8A3D5; int i; for (i = 0; i < GIT_OID_RAWSZ / 4; ++i) @@ -165,3 +165,9 @@ void git_revpool_table_resize(git_revpool_table *table) table->size_mask = (new_size - 1); table->max_count = new_size * max_load_factor; } + + +void git_revpool_table_free(git_revpool_table *table) +{ + +} |