mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-01-24 11:16:38 +01:00
git: Factor out INDEXER-PROGRESS-TOTAL-OBJECTS access.
* guix/git.scm (show-progress): Reuse the result of the first call.
This commit is contained in:
parent
9aa750776a
commit
98e2a15b1e
1 changed files with 1 additions and 1 deletions
|
@ -142,7 +142,7 @@ (define total
|
|||
(indexer-progress-total-objects progress))
|
||||
|
||||
(define hundredth
|
||||
(match (quotient (indexer-progress-total-objects progress) 100)
|
||||
(match (quotient total 100)
|
||||
(0 1)
|
||||
(x x)))
|
||||
|
||||
|
|
Loading…
Reference in a new issue