chiark / gitweb /
cli bundle progress: Say we're hashing, when we are.
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Mon, 16 May 2022 00:48:36 +0000 (01:48 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Mon, 16 May 2022 02:09:35 +0000 (03:09 +0100)
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
cli/usebundles.rs

index f69af11a9bd0541c2f01e93075ab9a968622d5b8..197e2b2a7c47744bac9c1902310ee510dd1c505f 100644 (file)
@@ -50,7 +50,7 @@ impl BundleForUpload {
   #[throws(AE)]
   pub fn prepare_open_file(file: &str, progress: &mut termprogress::Nest,
                            f: File) -> Self {
-    progress.start_phase(PROGFRAC_HASH, default());
+    progress.start_phase(PROGFRAC_HASH, "hashing".into());
 
     let size = f
       .metadata().context("fstat bundle file")?