diff options
author | jgart <jgart@dismail.de> | 2022-11-13 15:35:49 -0600 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2022-11-19 19:54:14 +0100 |
commit | f1354e792676829843908c4ed0f246dccf26bc1a (patch) | |
tree | 1e9daeeb5f161434a9ac5ded77441b8aae483a2a | |
parent | 6d1177b2c826d49cfb218db389a72869a28b0398 (diff) | |
download | guix-f1354e792676829843908c4ed0f246dccf26bc1a.tar.gz guix-f1354e792676829843908c4ed0f246dccf26bc1a.zip |
scripts: describe: Add branch information to json output.
* guix/scripts/describe.scm (channel->json): Add branch information.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
-rw-r--r-- | guix/scripts/describe.scm | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/guix/scripts/describe.scm b/guix/scripts/describe.scm index 0c310e3da8..e2233c78a5 100644 --- a/guix/scripts/describe.scm +++ b/guix/scripts/describe.scm @@ -3,6 +3,7 @@ ;;; Copyright © 2018 Oleg Pykhalov <go.wigust@gmail.com> ;;; Copyright © 2020 Ekaitz Zarraga <ekaitz@elenq.tech> ;;; Copyright © 2021 Simon Tournier <zimon.toutoune@gmail.com> +;;; Copyright © 2022 jgart <jgart@dismail.de> ;;; ;;; This file is part of GNU Guix. ;;; @@ -119,6 +120,7 @@ Display information about the channels currently in use.\n")) (let ((intro (channel-introduction channel))) `((name . ,(channel-name channel)) (url . ,(channel-url channel)) + (branch . ,(channel-branch channel)) (commit . ,(channel-commit channel)) ,@(if intro `((introduction |