GIT-014 JS: PUT ref-push over the wire (set/force to a remote)

GIT-012 gave the JS a FETCH client and GIT-013 a FF-only POST push; both ride git's receive-pack. PUT is the UNCONSTRAINED ref-writer — any ref to any sha, force/non-FF allowed — so be put //host (force-push cur to origin's counterpart) and put ssh://host?br#sha / put https://host?br (set a remote ref) need the same receive-pack wire but WITHOUT POST's FF gate. This ticket adds the jab put wire-push forms on top of GIT-013's shared wire.push(): compute the <old> <new> <ref> update (force = old is the advertised value, no ancestor check), reuse the pack build + report-status, over ssh: and http:. Ref-DELETE over the wire stays DELETE's verb, not here. Method: Issues.

Input

Context

Goals

Constraints

WIP

Design decisions

TODOs

Blockers and bummers

Outcome