print how many patches there were

This commit is contained in:
Jeff Carr 2025-01-29 09:06:51 -06:00
parent df19b5b8f8
commit 121e9f08da
2 changed files with 6 additions and 4 deletions

4
.gitignore vendored
View File

@ -1,5 +1,3 @@
go.*
*.swp
*.pb.go
forgeConfig/forgeConfig

View File

@ -228,8 +228,12 @@ func (f *Forge) submitPatchset(pset *Patchset) error {
}
test := strings.TrimSpace(string(body))
for _, line := range strings.Split(test, "\n") {
lines := strings.Split(test, "\n")
count := 0
for _, line := range lines {
log.Info("got back:", line)
count += 1
}
log.Info("Total patches:", count)
return nil
}