diff options
Diffstat (limited to 'receivepack/receivepack.go')
| -rw-r--r-- | receivepack/receivepack.go | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/receivepack/receivepack.go b/receivepack/receivepack.go index 8103ad1f..98bb3030 100644 --- a/receivepack/receivepack.go +++ b/receivepack/receivepack.go @@ -19,6 +19,9 @@ import ( // feels a bit ugly. // ReceivePack serves one receive-pack session over r/w. +// +// ReceivePack borrows r, w, and all dependencies reachable through opts for +// the duration of the call. It does not close any of them. func ReceivePack( ctx context.Context, w pktline.WriteFlusher, |
