Re: [PATCH v2] oidmap: map with OID as key
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Oct 4, 2017, 08:48 UTC
- Message-ID
- <xmqqmv57b8or.fsf@gitster.mtv.corp.google.com>
- In-Reply-To
- <20171004074547.56ks2efcr7cbldbq@sigill.intra.peff.net>
Jeff King <peff@peff.net> writes:
Show 10 quoted lines
> On Tue, Oct 03, 2017 at 05:29:01PM -0700, Jonathan Tan wrote: > >> At this point I decided that I prefer the thin wrapper, but the "light >> touch" (struct oidmap_entry, oidcmpfn(), oidmap_get() only) still >> better than the status quo. > > OK. I can certainly live with that. And worst case, I suppose, is that a > caller wants some underlying hashmap function and we just have to extend > the oidmap API to include it. It's not like we're adding new hashmap > functions willy-nilly.
OK, I think I can live with that, too. I'll tentatively mark the topic to be merged to 'next' but give it for a few days so that others can stop me.
Thanks.