Subject: [PATCH] channels: Add 'branch' to 'channel->code' output.
From: Brice Waegeneire <[email-masked]>
To: [email-masked]
Date: Tue, 21 Dec 2021 21:56:01 +0100
List-Id: <debbugs-submit.debbugs.gnu.org>

* guix/channels.scm (channel->code): Add 'branch' to output.
---
 guix/channels.scm | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/guix/channels.scm b/guix/channels.scm
index e4e0428eb5..5f47834c10 100644
--- a/guix/channels.scm
+++ b/guix/channels.scm
@@ -2,6 +2,7 @@
 ;;; Copyright © 2018, 2019, 2020, 2021 Ludovic Courtès <[email-masked]>
 ;;; Copyright © 2018 Ricardo Wurmus <[email-masked]>
 ;;; Copyright © 2019 Jan (janneke) Nieuwenhuizen <[email-masked]>
+;;; Copyright © 2021 Brice Waegeneire <[email-masked]>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -1009,7 +1010,8 @@ (define* (channel->code channel #:key (include-introduction? #t))
     `(channel
       (name ',(channel-name channel))
       (url ,(channel-url channel))
+      (branch ,(channel-branch channel))
       (commit ,(channel-commit channel))
       ,@(if intro
             `((introduction (make-channel-introduction

-- 
2.34.0