Download raw body.
gotd: fix "bad packfile with zero objects" error
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! :)
gotd: fix "bad packfile with zero objects" error