summaryrefslogtreecommitdiff
path: root/doPatchsets.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-08-28 19:15:48 -0500
committerJeff Carr <[email protected]>2025-08-28 19:30:59 -0500
commitb55add4b47aedb05541d375258608c637765ecc8 (patch)
treee8d1d213ad9dc067c3d535da5509d9e4784c7854 /doPatchsets.go
parent22f823bebe66ea758cf9bb4b72087b167a14d288 (diff)
add common patch functions between forge & forged
Diffstat (limited to 'doPatchsets.go')
-rw-r--r--doPatchsets.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/doPatchsets.go b/doPatchsets.go
index 3920ec3..9cd6a1f 100644
--- a/doPatchsets.go
+++ b/doPatchsets.go
@@ -121,6 +121,8 @@ func savePatchset(w http.ResponseWriter, msg []byte) error {
regfile.Write(msg)
regfile.Close()
+ me.forge.AddPatchset(m)
+
response := forgepb.NewPatches() // this sets the proper handshake protobuf UUID
all := m.Patches.SortByFilename()
for all.Scan() {