fix bogus "reference not found" error from 'got send'
commitfb8e08fd0336dfc0bb04096a31ce3e326bf6d1e8
authorStefan Sperling <stsp@stsp.name>
Fri, 15 Nov 2024 12:19:21 +0000 (15 12:19 +0000)
committerThomas Adam <thomas@xteddy.org>
Sat, 16 Nov 2024 10:31:04 +0000 (16 10:31 +0000)
treee126e3afed735961d4f04147931cc594635a916f
parent32cda8560bceecc6155bc6011c69e9e9a7c262c0
fix bogus "reference not found" error from 'got send'

When a reference exists on the server but not locally, 'got send' could
fail to ignore this reference as intended, raising an error instead.
Add a test case for this isssue.
lib/send.c
regress/cmdline/send.sh