git: Factor out INDEXER-PROGRESS-TOTAL-OBJECTS access.
* guix/git.scm (show-progress): Reuse the result of the first call.master
parent
9aa750776a
commit
98e2a15b1e
|
@ -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)))
|
||||
|
||||
|
|
Reference in New Issue