summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjgart <[email protected]>2022-11-13 15:35:49 -0600
committerLudovic Courtès <[email protected]>2022-11-19 19:54:14 +0100
commitf1354e792676829843908c4ed0f246dccf26bc1a (patch)
tree1e9daeeb5f161434a9ac5ded77441b8aae483a2a
parent6d1177b2c826d49cfb218db389a72869a28b0398 (diff)
scripts: describe: Add branch information to json output.
* guix/scripts/describe.scm (channel->json): Add branch information. Signed-off-by: Ludovic Courtès <[email protected]>
-rw-r--r--guix/scripts/describe.scm2
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 <[email protected]>
;;; Copyright © 2020 Ekaitz Zarraga <[email protected]>
;;; Copyright © 2021 Simon Tournier <[email protected]>
+;;; Copyright © 2022 jgart <[email protected]>
;;;
;;; 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