Fast implementation of Git in pure Go codeberg.org/lindenii/furgit
git go
6
fork

Configure Feed

Select the types of activity you want to include in your feed.

network/receivepack: Fix some leftovers

Runxi Yu 7d819fea 82f8ae03

+2 -5
-1
network/receivepack/receivepack.go
··· 99 99 Commands: translateCommands(req.Commands), 100 100 PushOptions: append([]string(nil), req.PushOptions...), 101 101 Atomic: req.Capabilities.Atomic, 102 - DeleteOnly: req.DeleteOnly, 103 102 PackExpected: req.PackExpected, 104 103 Pack: r, 105 104 }
+1 -1
network/receivepack/service/doc.go
··· 1 1 // Package service implements the protocol-independent receive-pack service. 2 2 // 3 - // A Service borrows the stores, roots, hooks, and I/O endpoints supplied in 3 + // A Service borrows the stores, hooks, and I/O endpoints supplied in 4 4 // Options. Callers retain ownership of those dependencies and must keep them 5 5 // valid for each Execute call that uses them. 6 6 package service
-1
network/receivepack/service/request.go
··· 10 10 Commands []Command 11 11 PushOptions []string 12 12 Atomic bool 13 - DeleteOnly bool 14 13 PackExpected bool 15 14 Pack io.Reader 16 15 }
+1 -2
network/receivepack/service/update.go
··· 2 2 3 3 import objectid "codeberg.org/lindenii/furgit/object/id" 4 4 5 - // PlannedUpdate is one ref update that would be applied once ref writing 6 - // exists. 5 + // PlannedUpdate is one requested ref update planned for this execution. 7 6 type PlannedUpdate struct { 8 7 Name string 9 8 OldID objectid.ObjectID