Commits
- Commit:
baaae61518bf323d22055a3b02fc9e129ee6d567
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
make gotd avoid a "failed to push some refs" error from no-op 'git push'
gotsh was sending errors such as "unexpected end of file" and
"unexpected flush-pkt" to the client when the client disconnected
immediately after receiving reference announcements from the server.
As a result, 'git push' with both sides up-to-date would show an
obscure error message:
= [up to date] main -> main
error: failed to push some refs to 'ssh://example.com/git/repo.git
Now we see:
= [up to date] main -> main
Everything up-to-date
ok jamsek
- Commit:
cc88020e952af813c1e01b91ab6516969562e972
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
fix spurious empty packfile error from gotd when rewinding a branch
ok op@
- Commit:
5760205b5f9b7d77dda76f98561d2a39e4eac7a9
- From:
- Omar Polo <op@omarpolo.com>
- Date:
extend test_delete_branch
- try to delete using git
- try to delete multiple branches in one go
- verify the ref-list reported by the server before and after
the deletion
suggested / ok stsp
- Commit:
9a8e357c727600cb61ac6ec4c83259fa6d9a3081
- From:
- Omar Polo <op@omarpolo.com>
- Date:
gotd: implement the delete-refs capability
Allow clients to run "got send -d" against gotd. Clients will send a
zero-id as new id for a reference and, in the special but more common
case of just deleting and not updating, no pack file will be sent.
ok and tweaks by stsp@
- Commit:
0ff2c315fe0f2f0fe4a92cae73c8a4a9fd21a402
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
gotd: fix "bad packfile with zero objects" error while creating branches
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. Problem found by 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.
ok op@
- Commit:
f9550d472ec2151070b5bef2bd3b950d9f8e7949
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
fix an issue where gotd fails to accept multiple have-lines from clients
ok op, jamsek
- Commit:
6da1c69cd7747c70dfbe29c9fb66fa03fa985459
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
fix an issue where multiple ref-updates are rejected by gotd
ok op@
- Commit:
5dd8d22b08edd56b5b81f36643ab026dd6dc5047
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
tweak a gotd regress test to cover incremental 'got fetch'
Previously the gotd tests were only running fresh clones.
- Commit:
6ae16afd7eb87b9d1ae10d16f29e1a66649decc7
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
add a test suite for gotd(8); check basic clone and send functionality