diff mbox series

[bug#59254] scripts: describe: Add branch information to json output.

Message ID 20221113213101.27519-1-jgart@dismail.de
State New
Headers show
Series [bug#59254] scripts: describe: Add branch information to json output. | expand

Commit Message

jgart Nov. 13, 2022, 9:31 p.m. UTC
* guix/scripts/describe.scm (channel->json): Add branch information.
---
 guix/scripts/describe.scm | 1 +
 1 file changed, 1 insertion(+)
diff mbox series

Patch

diff --git a/guix/scripts/describe.scm b/guix/scripts/describe.scm
index 0c310e3da8..dbc040c54d 100644
--- a/guix/scripts/describe.scm
+++ b/guix/scripts/describe.scm
@@ -119,6 +119,7 @@  (define (channel->json channel)
    (let ((intro (channel-introduction channel)))
      `((name . ,(channel-name channel))
        (url . ,(channel-url channel))
+       (branch . ,(channel-branch channel))
        (commit . ,(channel-commit channel))
        ,@(if intro
              `((introduction