pre-upload: add simple progress output

When configured hooks take a while to run, devs can get a bit confused
as to what's happening (since the output is silent by default).  Add a
simple progress output so they know what exactly is happening.

The form is basically:
PRESUBMT.cfg: [1/2]: 235ac803cacc33e52f9b38c2ff9eec9ce2b3d5a1: Running hook0
The count field tracks the commits.

TEST=ran `repo upload` in a few repos (with & w/out errors) and checked output

Change-Id: Icaab68c245045c5ea33f3cc1d63df94f3a5291f5
Commit-Ready: Mike Frysinger <>
Tested-by: Mike Frysinger <>
Reviewed-by: Mike Frysinger <>
(cherry picked from commit b7d552e3a16c79f91163bfcafe95884ebcf83f35)
Commit-Queue: Vadim Bendebury <>
Tested-by: Vadim Bendebury <>
Reviewed-by: Vadim Bendebury <>
2 files changed