1
1
Fork 0
mirror of https://github.com/NixOS/nix.git synced 2025-11-09 03:56:01 +01:00

Revert "Merge pull request #14380 from NixOS/backport-14364-to-2.30-maintenance"

This reverts commit b479a25292, reversing
changes made to fc0601b153.
This commit is contained in:
Eelco Dolstra 2025-11-06 22:12:56 +01:00
parent 0cc9f0810f
commit a6fb25f9f4
10 changed files with 30 additions and 24 deletions

View file

@ -8,7 +8,6 @@
#include "nix/util/users.hh"
#include "nix/util/fs-sink.hh"
#include "nix/util/sync.hh"
#include "nix/util/util.hh"
#include <git2/attr.h>
#include <git2/blob.h>
@ -518,12 +517,12 @@ struct GitRepoImpl : GitRepo, std::enable_shared_from_this<GitRepoImpl>
auto act = (Activity *) payload;
act->result(
resFetchStatus,
fmt("%d/%d objects received, %d/%d deltas indexed, %s",
fmt("%d/%d objects received, %d/%d deltas indexed, %.1f MiB",
stats->received_objects,
stats->total_objects,
stats->indexed_deltas,
stats->total_deltas,
renderSize(stats->received_bytes)));
stats->received_bytes / (1024.0 * 1024.0)));
return getInterrupted() ? -1 : 0;
}