Re: [PATCH v2 0/3] Test oidmap

2019-06-11 Thread SZEDER Gábor
On Tue, Jun 11, 2019 at 10:23:22AM +0200, Christian Couder wrote: > I decided against hardcoding values as I think it might help > transitionning from SHA1 to SHA256. Ok, that makes sense.

[PATCH v2 0/3] Test oidmap

2019-06-11 Thread Christian Couder
Unlike hashmap that has t/helper/test-hashmap.c and t/t0011-hashmap.sh oidmap has no specific test. The goal of this small patch series is to change that and also improve oidmap a bit while at it. Changes compared to V1 are the following: - use printf("%x\n", ntohl(sha1hash(oid.hash))) to print