aboutsummaryrefslogtreecommitdiffstats
path: root/plumbing/protocol/packp/updreq.go
Commit message (Collapse)AuthorAgeFilesLines
* plumbing: packp and server, Include the contents of ↵🚀 Steven Ewing 🌌2022-09-221-1/+1
| | | | `GO_GIT_USER_AGENT_EXTRA` as the git user agent. Fixes #529
* packp: Actions should have type ActionAbhinav Gupta2021-11-271-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Per the [Go Spec](https://go.dev/ref/spec#Constant_declarations), the following yields the type `Action` for `Bar` and `Baz` only if there is no `=`. const ( Foo Action = ... Bar Baz ) The following has the type `Action` for the first item, but not the rest. Those are untyped constants of the corresponding type. const ( Foo Action = ... Bar = ... Baz = ... ) This means that `packp.{Update, Delete, Invalid}` are currently untyped string constants, and not `Action` constants as was intended here. This change fixes these.
* plumbing: packp, Add encoding for push-options. Fixes #268.Sören Bohn2021-10-261-0/+6
| | | | go-git: Add field `Options` to `PushOptions`, wire functionality.
* Use only one name for receiverOleg Kovalov2020-07-061-3/+3
|
* *: migration from gopkg to go modulesMáximo Cuadros2020-03-101-3/+3
|
* Add sideband support for pushOri Rawlings2017-09-011-0/+4
|
* improve delete support on pushSantiago M. Mola2017-07-111-0/+1
| | | | | | | | | | | | | | | | | | | | | | | * server: implement delete-refs and announce it. * remote: check if server announced delete-refs before trying to delete and fail fast if it does not. Note that the client does not need no send 'delete-refs' back to the server to be able to delete references: ``` delete-refs ----------- If the server sends back the 'delete-refs' capability, it means that it is capable of accepting a zero-id value as the target value of a reference update. It is not sent back by the client, it simply informs the client that it can be sent zero-id values to delete references. ``` So our server implementation does not check if the client sent delete-refs back, it just accepts deletes if it receives them.
* project: move imports from srcd.works to gopkg.inAntonio Jesus Navarro Perez2017-03-071-2/+2
| | | | To be able to fix #261 we will move again to gopkg.in before v4 stable release.
* Remove TODOs from documentationAntonio Jesus Navarro Perez2017-02-281-1/+1
|
* documentation changesMáximo Cuadros2017-01-311-2/+1
|
* new srcd.works/go-git.v4 pathMáximo Cuadros2017-01-301-2/+2
|
* protocol/packp: use ReferenceName type for Command.Name. (#187)Santiago M. Mola2016-12-151-1/+1
|
* transport: add git-send-pack support to local/ssh. (#163)Santiago M. Mola2016-12-091-0/+34
| | | | | | | | | * protocol/packp: add Packfile field to ReferenceUpdateRequest. * protocol/packp: add NewReferenceUpdateRequestFromCapabilities. * NewReferenceUpdateRequestFromCapabilities can be used to create a ReferenceUpdateRequest with initial capabilities compatible with the server. * protocol/packp: fix new line handling on report status. * transport/file: test error on unexisting command.
* protocol/packp: add reference update request encoder. (#147)Santiago M. Mola2016-12-051-0/+84
* add ReferenceUpdateRequest struct. * add ReferenceUpdateRequest decoder. * add ReferenceUpdateRequest encoder.