Skip to main content

Module options

Module options 

Source
Expand description

What the client asks for, and what it does when the remote will not give it.

§What is refused rather than silently downgraded

A client that asks for atomic and gets a non-atomic push has done something worse than failing: it has reported success for a guarantee it did not get. negotiate therefore errors when a requested capability was not advertised, for atomic, push-options and delete-refs. A silent downgrade is a green that could never go red.

Structs§

SendPackOptions
What the client asks for.

Functions§

negotiate
The capabilities the client will send, given what the remote offered.
ofs_delta_agreed
May the pack this push writes use OBJ_OFS_DELTA entries?