mirror of
https://github.com/NixOS/nix.git
synced 2025-11-24 03:09:35 +01:00
Show Git fetch progress
This commit is contained in:
parent
2964a9f562
commit
2890999911
4 changed files with 39 additions and 3 deletions
|
|
@ -340,6 +340,14 @@ public:
|
|||
state->activitiesByType[type].expected += j;
|
||||
update(*state);
|
||||
}
|
||||
|
||||
else if (type == resFetchStatus) {
|
||||
auto i = state->its.find(act);
|
||||
assert(i != state->its.end());
|
||||
ActInfo & actInfo = *i->second;
|
||||
actInfo.lastLine = getS(fields, 0);
|
||||
update(*state);
|
||||
}
|
||||
}
|
||||
|
||||
void update(State & state)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue