[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
09/10: git: Factor out INDEXER-PROGRESS-TOTAL-OBJECTS access.
From: |
guix-commits |
Subject: |
09/10: git: Factor out INDEXER-PROGRESS-TOTAL-OBJECTS access. |
Date: |
Thu, 23 Feb 2023 17:54:58 -0500 (EST) |
nckx pushed a commit to branch master
in repository guix.
commit 98e2a15b1e31689b75f3ded128f1650d0f091436
Author: Tobias Geerinckx-Rice <me@tobias.gr>
AuthorDate: Sun Feb 19 01:00:00 2023 +0100
git: Factor out INDEXER-PROGRESS-TOTAL-OBJECTS access.
* guix/git.scm (show-progress): Reuse the result of the first call.
---
guix/git.scm | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/guix/git.scm b/guix/git.scm
index 95630a5e69..a1e6b3fa9c 100644
--- a/guix/git.scm
+++ b/guix/git.scm
@@ -142,7 +142,7 @@ the 'SSL_CERT_FILE' and 'SSL_CERT_DIR' environment
variables."
(indexer-progress-total-objects progress))
(define hundredth
- (match (quotient (indexer-progress-total-objects progress) 100)
+ (match (quotient total 100)
(0 1)
(x x)))
- branch master updated (c756c62cfd -> 5d10644371), guix-commits, 2023/02/23
- 02/10: gnu: epson-inkjet-printer-escpr: Update to 1.7.24., guix-commits, 2023/02/23
- 07/10: gnu: bees: Drop ‘dedupe’ slang., guix-commits, 2023/02/23
- 03/10: gnu: linux-libre: Consistently provide the drop_monitor module., guix-commits, 2023/02/23
- 05/10: gnu: homebank: Update to 5.6.2., guix-commits, 2023/02/23
- 06/10: gnu: bees: Update to 0.9.2., guix-commits, 2023/02/23
- 09/10: git: Factor out INDEXER-PROGRESS-TOTAL-OBJECTS access.,
guix-commits <=
- 01/10: gnu: Use HTTPS package home pages wherever possible., guix-commits, 2023/02/23
- 04/10: gnu: xvfb-run: Update to 21.1.7-1., guix-commits, 2023/02/23
- 08/10: ssh: Factor out progress % calculation., guix-commits, 2023/02/23
- 10/10: git: Make better use of the better progress bar., guix-commits, 2023/02/23