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

From:
Omar Polo <op@omarpolo.com>
Subject:
Re: gotd: fix "bad packfile with zero objects" error
To:
Stefan Sperling <stsp@stsp.name>
Cc:
gameoftrees@openbsd.org
Date:
Wed, 18 Jan 2023 20:48:10 +0100

Download raw body.

Thread
On 2023/01/18 20:13:11 +0100, Stefan Sperling <stsp@stsp.name> wrote:
> Fix the "bad packfile with zero objects" error while creating branches,
> as reported by op@ on IRC.
> 
> Clients will send an empty pack file if they are only creating new
> references and have no objects to upload. Make gotd handle this and
> add a regression test which triggers the bug.

works perfectly, thanks!

ok op@

> The new regression test caught an unrelated issue where the client
> connection was left lingering after references had been updated,
> which made 'got send' followed by 'got clone -l' fail with the
> connection limit configured for the test suite (just one connection
> is allowed at a time). Fix this as well.

nice that it also helped spotting another issue! :)