Export: include section count in status updates (#52368)

This commit is contained in:
Ryan McKinley
2022-07-18 11:03:08 -04:00
committed by GitHub
parent 278f5b131b
commit b3b64e24c2
5 changed files with 42 additions and 21 deletions
+3
View File
@@ -27,6 +27,8 @@ type commitHelper struct {
stopRequested bool
broadcast func(path string)
exporter string // key for the current exporter
counter int
}
type commitBody struct {
@@ -125,6 +127,7 @@ func (ch *commitHelper) add(opts commitOptions) error {
fmt.Printf("STATUS: %+v\n", status)
return fmt.Errorf("unable to add file: %s (%d)", sub, len(b.body))
}
ch.counter++
}
copts := &git.CommitOptions{