diff options
Diffstat (limited to 'network')
| -rw-r--r-- | network/receivepack/receivepack.go | 1 | ||||
| -rw-r--r-- | network/receivepack/service/doc.go | 2 | ||||
| -rw-r--r-- | network/receivepack/service/request.go | 1 | ||||
| -rw-r--r-- | network/receivepack/service/update.go | 3 |
4 files changed, 2 insertions, 5 deletions
diff --git a/network/receivepack/receivepack.go b/network/receivepack/receivepack.go index 2124214e..d58e9fa0 100644 --- a/network/receivepack/receivepack.go +++ b/network/receivepack/receivepack.go @@ -99,7 +99,6 @@ func ReceivePack( Commands: translateCommands(req.Commands), PushOptions: append([]string(nil), req.PushOptions...), Atomic: req.Capabilities.Atomic, - DeleteOnly: req.DeleteOnly, PackExpected: req.PackExpected, Pack: r, } diff --git a/network/receivepack/service/doc.go b/network/receivepack/service/doc.go index 37be23f4..c3fa3041 100644 --- a/network/receivepack/service/doc.go +++ b/network/receivepack/service/doc.go @@ -1,6 +1,6 @@ // Package service implements the protocol-independent receive-pack service. // -// A Service borrows the stores, roots, hooks, and I/O endpoints supplied in +// A Service borrows the stores, hooks, and I/O endpoints supplied in // Options. Callers retain ownership of those dependencies and must keep them // valid for each Execute call that uses them. package service diff --git a/network/receivepack/service/request.go b/network/receivepack/service/request.go index 7f9bcc2f..33e3796f 100644 --- a/network/receivepack/service/request.go +++ b/network/receivepack/service/request.go @@ -10,7 +10,6 @@ type Request struct { Commands []Command PushOptions []string Atomic bool - DeleteOnly bool PackExpected bool Pack io.Reader } diff --git a/network/receivepack/service/update.go b/network/receivepack/service/update.go index 043f3d51..753e3b02 100644 --- a/network/receivepack/service/update.go +++ b/network/receivepack/service/update.go @@ -2,8 +2,7 @@ package service import objectid "codeberg.org/lindenii/furgit/object/id" -// PlannedUpdate is one ref update that would be applied once ref writing -// exists. +// PlannedUpdate is one requested ref update planned for this execution. type PlannedUpdate struct { Name string OldID objectid.ObjectID |
