"GOT", but the "O" is a cute, smiling pufferfish. Index | Thread | Search

From:
Stefan Sperling <stsp@stsp.name>
Subject:
Re: some memcmp -> got_object_id_cmp in object_parse.c
To:
Omar Polo <op@omarpolo.com>
Cc:
gameoftrees@openbsd.org
Date:
Thu, 2 Feb 2023 17:43:50 +0100

Download raw body.

Thread
On Thu, Feb 02, 2023 at 05:27:42PM +0100, Omar Polo wrote:
> avoids some assumption about the hash size ;-)

Heh, yes sure!

> yeah, the error message is still generated with
> got_sha1_digest_to_str.  we can add a function like got_object_id_str
> that serialize an id to a static buffer in a second moment i think.

Yes, such a function could be useful indeed.