From: Christian Weisgerber Subject: Re: handle reference arguments that look like short object IDs To: gameoftrees@openbsd.org Date: Wed, 9 Mar 2022 21:26:36 +0100 Stefan Sperling: > > Also, got_repo_match_object_id_prefix() accepts hex strings of > > unlimited length as a prefix. > > Yes it might make sense to limit it. Using SHA256 is a future possibility, > Git is in a slow progress of switching to it. But that affects a lot of > areas of the code, so adding a check like this won't hurt. -snip- ok naddy -- Christian "naddy" Weisgerber naddy@mips.inka.de