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
Commit-Ready: Mike Frysinger <firstname.lastname@example.org>
Tested-by: Mike Frysinger <email@example.com>
Reviewed-by: Mike Frysinger <firstname.lastname@example.org>
2 files changed