shithub: furgit

Download patch

ref: 7d819fea3d26714261f06314f41159ad76bf991a
parent: 82f8ae0392250f0de127fcd7a5da21587e9e589c
author: Runxi Yu <runxiyu@umich.edu>
date: Mon Mar 30 15:57:01 EDT 2026

network/receivepack: Fix some leftovers

--- a/network/receivepack/receivepack.go
+++ b/network/receivepack/receivepack.go
@@ -99,7 +99,6 @@
 		Commands:     translateCommands(req.Commands),
 		PushOptions:  append([]string(nil), req.PushOptions...),
 		Atomic:       req.Capabilities.Atomic,
-		DeleteOnly:   req.DeleteOnly,
 		PackExpected: req.PackExpected,
 		Pack:         r,
 	}
--- 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
--- a/network/receivepack/service/request.go
+++ b/network/receivepack/service/request.go
@@ -10,7 +10,6 @@
 	Commands     []Command
 	PushOptions  []string
 	Atomic       bool
-	DeleteOnly   bool
 	PackExpected bool
 	Pack         io.Reader
 }
--- a/network/receivepack/service/update.go
+++ b/network/receivepack/service/update.go
@@ -2,8 +2,7 @@
 
 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
--