Export: include section count in status updates (#52368)
This commit is contained in:
@@ -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{
|
||||
|
||||
Reference in New Issue
Block a user