summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitignore4
-rw-r--r--patchset.Make.go6
2 files changed, 6 insertions, 4 deletions
diff --git a/.gitignore b/.gitignore
index a70fcd6..4af3329 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,5 +1,3 @@
go.*
-
+*.swp
*.pb.go
-
-forgeConfig/forgeConfig
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
}