diff options
| author | Jeff Carr <[email protected]> | 2025-01-29 09:06:51 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-01-29 12:24:42 -0600 |
| commit | 121e9f08da949533f1004553d1a4b32e5b31c4c4 (patch) | |
| tree | 2f3fdc7fcdd87f1029af0feda2061de7bbbb757b /patchset.Make.go | |
| parent | df19b5b8f8b307a01c34162ca59be58474fb2a4b (diff) | |
print how many patches there were
Diffstat (limited to 'patchset.Make.go')
| -rw-r--r-- | patchset.Make.go | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/patchset.Make.go b/patchset.Make.go index 040a353..e3be08c 100644 --- a/patchset.Make.go +++ b/patchset.Make.go @@ -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 } |
