summaryrefslogtreecommitdiff
path: root/doPatchsets.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-08-22 01:17:38 -0500
committerJeff Carr <[email protected]>2025-08-28 19:30:29 -0500
commit9d6bc7fa41df36237f62c989b710561ea71e1388 (patch)
tree7109e9ac63cbb37e2df7e85176d196b7963587cd /doPatchsets.go
parent2be94a377ab7f15b1b82db9ab9fe6744852e5146 (diff)
don't send back all the data
Diffstat (limited to 'doPatchsets.go')
-rw-r--r--doPatchsets.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/doPatchsets.go b/doPatchsets.go
index 5e70e46..caf73bc 100644
--- a/doPatchsets.go
+++ b/doPatchsets.go
@@ -168,6 +168,7 @@ func savePatchset(w http.ResponseWriter, msg []byte) error {
var newp *forgepb.Patch
newp = p
newp = proto.Clone(p).(*forgepb.Patch)
+ newp.Data = nil // don't send back all the data
// fmt.Fprintln(w, "filename:", repo.Filename)
response.Append(newp)
}