~ruther/guix-local

e5fa18b6285c59b6e9f8debe0ffde9ef5055f3a2 — Rostislav Svoboda 2 years ago 63dfce5
guix: channels: Handle single case with authenticating message.

* guix/channels.scm (authenticate-channel): Handle single case with
authenticating message.

Change-Id: I7759607f37405e6d3bd4b7f5958fd11d908db204
Reviewed-by: Dale Mellor <guix-devel-0brg6a@rdmp.org>
Signed-off-by: Christopher Baines <mail@cbaines.net>
1 files changed, 7 insertions(+), 2 deletions(-)

M guix/channels.scm
M guix/channels.scm => guix/channels.scm +7 -2
@@ 3,6 3,8 @@
;;; Copyright © 2018 Ricardo Wurmus <rekado@elephly.net>
;;; Copyright © 2019 Jan (janneke) Nieuwenhuizen <janneke@gnu.org>
;;; Copyright © 2021 Brice Waegeneire <brice@waegenei.re>
;;; Copyright © 2024 Julien Lepiller <julien@lepiller.eu>
;;; Copyright © 2024 Rostislav Svoboda <Rostislav.Svoboda@gmail.com>
;;;
;;; This file is part of GNU Guix.
;;;


@@ 364,8 366,11 @@ fails."

  (define (make-reporter start-commit end-commit commits)
    (format (current-error-port)
            (G_ "Authenticating channel '~a', commits ~a to ~a (~h new \
commits)...~%")
            (N_ "Authenticating channel '~a', commits ~a to ~a (~h new \
commit)...~%"
                "Authenticating channel '~a', commits ~a to ~a (~h new \
commits)...~%"
                (length commits))
            (channel-name channel)
            (commit-short-id start-commit)
            (commit-short-id end-commit)