1
1
Fork 0
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:
Eelco Dolstra 2023-11-15 13:57:20 +01:00
parent 2964a9f562
commit 2890999911
4 changed files with 39 additions and 3 deletions

View file

@ -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)