summaryrefslogtreecommitdiff
path: root/doPatchsets.go
diff options
context:
space:
mode:
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)
}