From 5c4e61830242a3a25e332bf623adb2eb65037f2b Mon Sep 17 00:00:00 2001 From: Runxi Yu Date: Sun, 22 Mar 2026 23:34:38 +0000 Subject: receivepack/service: Clarify ownership and requirements --- receivepack/service/doc.go | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'receivepack/service/doc.go') diff --git a/receivepack/service/doc.go b/receivepack/service/doc.go index 2bb15a38..37be23f4 100644 --- a/receivepack/service/doc.go +++ b/receivepack/service/doc.go @@ -1,2 +1,6 @@ // Package service implements the protocol-independent receive-pack service. +// +// A Service borrows the stores, roots, 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 -- cgit v1.3.1-10-gc9f91