More progress indicator improvements

In particular, don't show superfluous "fetching path" and "building
path(s)" messages, and show the current round (with --repeat).
This commit is contained in:
Eelco Dolstra 2017-10-24 15:05:21 +02:00
parent 96051dd057
commit 3460e4cf00
No known key found for this signature in database
GPG key ID: 8170B4726D7198DE
3 changed files with 14 additions and 14 deletions

View file

@ -159,6 +159,10 @@ public:
auto machineName = getS(fields, 1);
if (machineName != "")
i->s += fmt(" on " ANSI_BOLD "%s" ANSI_NORMAL, machineName);
auto curRound = getI(fields, 2);
auto nrRounds = getI(fields, 3);
if (nrRounds != 1)
i->s += fmt(" (round %d/%d)", curRound, nrRounds);
}
if (type == actSubstitute) {