summaryrefslogtreecommitdiff
path: root/handlePatches.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-09-07 21:38:15 -0500
committerJeff Carr <[email protected]>2025-09-07 21:41:29 -0500
commit873cb39932ae90fa9dac5415b08fd687c8ef3199 (patch)
treeda34bbb9a732264d726f2fd4ab2cd0e037a3230c /handlePatches.go
parenta099bbd3e656ac2d0cf1db656f08d91c673db437 (diff)
patches being sent again when requested
Diffstat (limited to 'handlePatches.go')
-rw-r--r--handlePatches.go5
1 files changed, 2 insertions, 3 deletions
diff --git a/handlePatches.go b/handlePatches.go
index 4265e55..d5b12a9 100644
--- a/handlePatches.go
+++ b/handlePatches.go
@@ -32,9 +32,8 @@ func sendPendingPatches(pb *forgepb.Patches, reqPB *httppb.HttpRequest) *forgepb
func sendPendingPatchsets(pb *forgepb.Patchsets, reqPB *httppb.HttpRequest) *forgepb.Patchsets {
allPatchsetsPB := new(forgepb.Patchsets)
for pset := range me.forge.Patchsets.IterAll() {
- if pset.Name == "forge auto submit" {
- allPatchsetsPB.Append(pset)
- }
+ reqPB.Errors = append(reqPB.Errors, log.Sprintf("adding %s with len=%d", pset.Name, pset.Patches.Len()))
+ allPatchsetsPB.Append(pset)
}
return allPatchsetsPB
}