diff mbox series

[bug#69780,v2,3/5] git authenticate: Print something upon success.

Message ID 879165ecce50db273ef575073a215e5da7cdd126.1712522119.git.ludo@gnu.org
State New
Headers show
Series [bug#69780,v2,1/5] git authenticate: Record introduction and keyring in ‘.git/config’. | expand

Commit Message

Ludovic Courtès April 7, 2024, 8:38 p.m. UTC
Until now the command would be silent and exit with 0.

* guix/scripts/git/authenticate.scm (guix-git-authenticate): Print
something upon success.

Change-Id: I08d086c35df6ac74ee847df0479660293c68987d
---
 guix/scripts/git/authenticate.scm | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/guix/scripts/git/authenticate.scm b/guix/scripts/git/authenticate.scm
index d81a0e1ffb..0797cba0b6 100644
--- a/guix/scripts/git/authenticate.scm
+++ b/guix/scripts/git/authenticate.scm
@@ -274,4 +274,7 @@  (define (guix-git-authenticate . args)
                                #:keyring-reference keyring))
 
        (when (and show-stats? (not (null? stats)))
-         (show-stats stats))))))
+         (show-stats stats))
+
+       (info (G_ "successfully authenticated commit ~a~%")
+             (oid->string end))))))