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